PHP Class PHPSA\Analyzer

Afficher le fichier Open project: ovr/phpsa Class Usage Examples

Protected Properties

Свойство Type Description
$bindOnExpressions []AnalyzerPassInterface[]
$bindOnScalars []AnalyzerPassInterface[]
$bindOnStatements []AnalyzerPassInterface[]
$eventManager Webiny\Component\EventManager\EventManager

Méthodes publiques

Méthode Description
__construct ( EventManager $eventManager )
bind ( ) binds the listeners
registerExpressionPasses ( array $expressionPasses )
registerScalarPasses ( array $scalarPasses )
registerStatementPasses ( array $statementPasses )

Method Details

__construct() public méthode

public __construct ( EventManager $eventManager )
$eventManager Webiny\Component\EventManager\EventManager

bind() public méthode

binds the listeners
public bind ( )

registerExpressionPasses() public méthode

public registerExpressionPasses ( array $expressionPasses )
$expressionPasses array all the expression analyzers

registerScalarPasses() public méthode

public registerScalarPasses ( array $scalarPasses )
$scalarPasses array all the scalar analyzers

registerStatementPasses() public méthode

public registerStatementPasses ( array $statementPasses )
$statementPasses array all the statement analyzers

Property Details

$bindOnExpressions protected_oe property

protected []AnalyzerPassInterface[] $bindOnExpressions
Résultat []AnalyzerPassInterface[]

$bindOnScalars protected_oe property

protected []AnalyzerPassInterface[] $bindOnScalars
Résultat []AnalyzerPassInterface[]

$bindOnStatements protected_oe property

protected []AnalyzerPassInterface[] $bindOnStatements
Résultat []AnalyzerPassInterface[]

$eventManager protected_oe property

protected EventManager,Webiny\Component\EventManager $eventManager
Résultat Webiny\Component\EventManager\EventManager