ZF\Apigility\Admin\Model\RestServiceEntity::__get PHP Method

__get() public method

public __get ( $name )
    public function __get($name)
    {
        if ($name === 'filter') {
            throw new \OutOfRangeException(sprintf('%s does not contain a property by the name of "%s"', __CLASS__, $name));
        }
        /**
         * @todo Remove this prior to 1.0; BC fix implemented prior to 0.9.0
         */
        if ($name === 'resourceHttpMethods') {
            $name = 'entityHttpMethods';
        }
        if (!property_exists($this, $name)) {
            throw new \OutOfRangeException(sprintf('%s does not contain a property by the name of "%s"', __CLASS__, $name));
        }
        return $this->{$name};
    }