PDepend\Source\Language\PHP\AbstractPHPParser::parseFormalParameterAndByReference PHP Method

parseFormalParameterAndByReference() private method

--- -------- function foo(array &$x, &$y = 42) } --- --------
Since: 0.9.6
private parseFormalParameterAndByReference ( ) : PDepend\Source\AST\ASTFormalParameter
return PDepend\Source\AST\ASTFormalParameter
    private function parseFormalParameterAndByReference()
    {
        $this->consumeToken(Tokens::T_BITWISE_AND);
        $this->consumeComments();
        $parameter = $this->parseFormalParameter();
        $parameter->setPassedByReference();
        return $parameter;
    }
AbstractPHPParser