PHP Interface PHPStan\Parser\Parser

Show file Open project: phpstan/phpstan Interface Usage Examples

Public Methods

Method Description
parseFile ( string $file ) : array
parseString ( string $sourceCode ) : array

Method Details

parseFile() public method

public parseFile ( string $file ) : array
$file string path to a file to parse
return array

parseString() public method

public parseString ( string $sourceCode ) : array
$sourceCode string
return array