parsePrivateIdentifier example

/** * Parses a property name. The returned value is an array where there first * element is the property name and the second element is a boolean * indicating if it's a computed property * * @return array|null */
    protected function parseClassElementName()
    {
        if (
            $this->features->privateMethodsAndFields &&
            ($name = $this->parsePrivateIdentifier())
        ) {
            return array($name, false);
        }
        return $this->parsePropertyName();
    }

    /** * Parses a field definition * * @return Node\StaticBlock */
    
Home | Imprint | This part of the site doesn't use cookies.