PHP Class PHPSA\Compiler\Event\ScalarBeforeCompile

Inheritance: extends Webiny\Component\EventManager\Event
Show file Open project: ovr/phpsa Class Usage Examples

Public Methods

Method Description
__construct ( NodeAbstract $scalar, Context $context )
getContext ( ) : Context
getScalar ( ) : PhpParser\Node\Scalar

Method Details

__construct() public method

public __construct ( NodeAbstract $scalar, Context $context )
$scalar PhpParser\NodeAbstract
$context PHPSA\Context

getContext() public method

public getContext ( ) : Context
return PHPSA\Context

getScalar() public method

public getScalar ( ) : PhpParser\Node\Scalar
return PhpParser\Node\Scalar