FluentDOM\HHVM\Properties::getParentProperty PHP Method

getParentProperty() private method

private getParentProperty ( $name )
    private function getParentProperty($name)
    {
        static $useParentMethod = NULL;
        if (NULL === $useParentMethod) {
            $useParentMethod = method_exists(get_parent_class($this), '__get');
        }
        /** @noinspection PhpUndefinedMethodInspection */
        return $useParentMethod ? parent::__get($name) : $this->{$name};
    }