src/Neutrino/Support/Obj.php
public static function fetch($object, $property, $default = null)
    {
        if (is_null($object)) {
            return self::value($default);
        }

        return isset($object->$property) ? $object->$property : self::value($default);
    }
public static function fetch($object, $property, $default = null)
    {
        if (is_null($object)) {
            return self::value($default);
        }

        return isset($object->$property) ? $object->$property : self::value($default);
    }
Get an item, no null, from an object.

@param      $object
@param      $property
@param null $default

@return null