eZ\Publish\Core\Repository\Values\Content\Location::__isset PHP Method

__isset() public method

Magic isset for signaling existence of convenience properties.
public __isset ( string $property ) : boolean
$property string
return boolean
    public function __isset($property)
    {
        if ($property === 'contentId' || $property === 'path') {
            return true;
        }
        return parent::__isset($property);
    }