PHP Class GrumPHP\Task\AbstractParserTask

Inheritance: implements GrumPHP\Task\TaskInterface
Show file Open project: phpro/grumphp Class Usage Examples

Protected Properties

Property Type Description
$grumPHP GrumPHP\Configuration\GrumPHP
$parser GrumPHP\Parser\ParserInterface

Public Methods

Method Description
__construct ( GrumPHP $grumPHP, GrumPHP\Parser\ParserInterface $parser )
getConfigurableOptions ( ) : Symfony\Component\OptionsResolver\OptionsResolver
getConfiguration ( )

Protected Methods

Method Description
parse ( FilesCollection $files ) : ParseErrorsCollection

Method Details

__construct() public method

public __construct ( GrumPHP $grumPHP, GrumPHP\Parser\ParserInterface $parser )
$grumPHP GrumPHP\Configuration\GrumPHP
$parser GrumPHP\Parser\ParserInterface

getConfigurableOptions() public method

public getConfigurableOptions ( ) : Symfony\Component\OptionsResolver\OptionsResolver
return Symfony\Component\OptionsResolver\OptionsResolver

getConfiguration() public method

public getConfiguration ( )

parse() protected method

protected parse ( FilesCollection $files ) : ParseErrorsCollection
$files GrumPHP\Collection\FilesCollection
return GrumPHP\Collection\ParseErrorsCollection

Property Details

$grumPHP protected property

protected GrumPHP,GrumPHP\Configuration $grumPHP
return GrumPHP\Configuration\GrumPHP

$parser protected property

protected ParserInterface,GrumPHP\Parser $parser
return GrumPHP\Parser\ParserInterface