Phulp\Collection::getItemType PHP Method

getItemType() protected method

Returns which is the type of the item.
protected getItemType ( mixed $item ) : string
$item mixed
return string
    protected function getItemType($item)
    {
        return is_object($item) ? get_class($item) : gettype($item);
    }