src/SignatureInformationFactory.php
public function create(FunctionLike $node): SignatureInformation
    {
        $params = $this->createParameters($node);
        $label = $this->createLabel($params);
        return new SignatureInformation(
            $label,
            $params,
            $this->definitionResolver->getDocumentationFromNode($node)
        );
    }
public function create(FunctionLike $node): SignatureInformation
    {
        $params = $this->createParameters($node);
        $label = $this->createLabel($params);
        return new SignatureInformation(
            $label,
            $params,
            $this->definitionResolver->getDocumentationFromNode($node)
        );
    }
public function create ( FunctionLike $ node ) : SignatureInformation { $ params = $ this -> createParameters ( $ node ) ; $ label = $ this -> createLabel ( $ params ) ; return new SignatureInformation ( $ label , $ params , $ this -> definitionResolver -> getDocumentationFromNode ( $ node ) ) ; }
Create a SignatureInformation from a FunctionLike node

@param FunctionLike $node Node to create signature information from

@return SignatureInformation
Create a SignatureInformation from a FunctionLike node