cyberfly
5/24/2018 - 9:02 AM

Laravel Collection get only records not empty value

$items =  $collection->filter(function ($item)
        {
            return $item->value != '';
        })