PHP Class GrumPHP\Task\PhpParser

Inheritance: extends AbstractParserTask
Show file Open project: phpro/grumphp

Protected Properties

Property Type Description
$parser GrumPHP\Parser\Php\PhpParser

Public Methods

Method Description
canRunInContext ( GrumPHP\Task\Context\ContextInterface $context )
getConfigurableOptions ( )
getName ( ) : string
run ( GrumPHP\Task\Context\ContextInterface $context )

Method Details

canRunInContext() public method

public canRunInContext ( GrumPHP\Task\Context\ContextInterface $context )
$context GrumPHP\Task\Context\ContextInterface

getConfigurableOptions() public method

getName() public method

public getName ( ) : string
return string

run() public method

public run ( GrumPHP\Task\Context\ContextInterface $context )
$context GrumPHP\Task\Context\ContextInterface

Property Details

$parser protected property

protected PhpParser,GrumPHP\Parser\Php $parser
return GrumPHP\Parser\Php\PhpParser