src/PhpDocumentLoader.php
public function create(string $uri, string $content): PhpDocument
    {
        return new PhpDocument(
            $uri,
            $content,
            $this->projectIndex->getIndexForUri($uri),
            $this->parser,
            $this->docBlockFactory,
            $this->definitionResolver
        );
    }
public function create(string $uri, string $content): PhpDocument
    {
        return new PhpDocument(
            $uri,
            $content,
            $this->projectIndex->getIndexForUri($uri),
            $this->parser,
            $this->docBlockFactory,
            $this->definitionResolver
        );
    }
public function create ( string $ uri , string $ content ) : PhpDocument { return new PhpDocument ( $ uri , $ content , $ this -> projectIndex -> getIndexForUri ( $ uri ) , $ this -> parser , $ this -> docBlockFactory , $ this -> definitionResolver ) ; }
Builds a PhpDocument instance

@param string $uri
@param string $content
@return PhpDocument
Builds a PhpDocument instance