Doctrine\Common\Annotations\PhpParser::getFileContent
Get the content of the file right up to the given line number.
Signature
private function getFileContent(string
$filename,
int
$lineNumber )
Parameters
$filename
— string- The name of the file to load.
$lineNumber
— int- The number of lines to read from file.
Returns
- string
- The content of the file.