PHP Class GrumPHP\Parser\Php\Context\ParserContext

Exibir arquivo Open project: phpro/grumphp Class Usage Examples

Public Methods

Method Description
__construct ( SplFileInfo $file, ParseErrorsCollection $errors ) ParserContext constructor.
getErrors ( ) : ParseErrorsCollection
getFile ( ) : SplFileInfo

Method Details

__construct() public method

ParserContext constructor.
public __construct ( SplFileInfo $file, ParseErrorsCollection $errors )
$file SplFileInfo
$errors GrumPHP\Collection\ParseErrorsCollection

getErrors() public method

public getErrors ( ) : ParseErrorsCollection
return GrumPHP\Collection\ParseErrorsCollection

getFile() public method

public getFile ( ) : SplFileInfo
return SplFileInfo