extensions/felixfbecker.php-intellisense-0.0.12/vendor/felixfbecker/language-server/src/Server/TextDocument.php
/**
     * The document formatting request is sent from the server to the client to format a whole document.
     *
     * @param TextDocumentIdentifier $textDocument The document to format
     * @param FormattingOptions $options The format options
     * @return Promise <TextEdit[]>
     */
The document formatting request is sent from the server to the client to format a whole document.
@param TextDocumentIdentifier $textDocument The document to format
@param FormattingOptions $options The format options
@return Promise 
The document formatting request is sent from the server to the client to format a whole document . @param TextDocumentIdentifier $textDocument The document to format @param FormattingOptions $options The format options @return Promise
public function formatting(TextDocumentIdentifier $textDocument, FormattingOptions $options)
    {
        return $this->project->getOrLoadDocument($textDocument->uri)->then(function (PhpDocument $document) {
            return $document->getFormattedText();
        });
    }
public function formatting ( TextDocumentIdentifier $ textDocument , FormattingOptions $ options ) { return $ this -> project -> getOrLoadDocument ( $ textDocument -> uri ) -> then ( function ( PhpDocument $ document ) { return $ document -> getFormattedText ( ) ; } ) ; }
The document formatting request is sent from the server to the client to format a whole document.
The document formatting request is sent from the server to the client to format a whole document .