src/Server/TextDocument.php
public function signatureHelp(TextDocumentIdentifier $textDocument, Position $position): Promise
    {
        return coroutine(function () use ($textDocument, $position) {
            $document = yield $this->documentLoader->getOrLoad($textDocument->uri);
            return $this->signatureHelpProvider->getSignatureHelp($document, $position);
        });
    }
public function signatureHelp(TextDocumentIdentifier $textDocument, Position $position): Promise
    {
        return coroutine(function () use ($textDocument, $position) {
            $document = yield $this->documentLoader->getOrLoad($textDocument->uri);
            return $this->signatureHelpProvider->getSignatureHelp($document, $position);
        });
    }
public function signatureHelp ( TextDocumentIdentifier $ textDocument , Position $ position ) : Promise { return coroutine ( function ( ) use ( $ textDocument , $ position ) { $ document = yield $ this -> documentLoader -> getOrLoad ( $ textDocument -> uri ) ; return $ this -> signatureHelpProvider -> getSignatureHelp ( $ document , $ position ) ; } ) ; }
The signature help request is sent from the client to the server to request signature information at a given
cursor position.

@param TextDocumentIdentifier $textDocument The text document
@param Position               $position     The position inside the text document

@return Promise <SignatureHelp>
The signature help request is sent from the client to the server to request signature information at a given cursor position .