PHP Class PHPSA\Analyzer\Factory

Mostra file Open project: ovr/phpsa Class Usage Examples

Public Methods

Method Description
factory ( EventManager $eventManager, Configuration $config ) : Analyzer
getPassesConfigurations ( ) : Symfony\Component\Config\Definition\Builder\NodeDefinition[]
getPassesMetadata ( ) : Metadata[]

Private Methods

Method Description
getExpressionPasses ( ) : array
getScalarPasses ( ) : array
getStatementPasses ( ) : array

Method Details

factory() public static method

public static factory ( EventManager $eventManager, Configuration $config ) : Analyzer
$eventManager Webiny\Component\EventManager\EventManager
$config PHPSA\Configuration
return PHPSA\Analyzer

getPassesConfigurations() public static method

public static getPassesConfigurations ( ) : Symfony\Component\Config\Definition\Builder\NodeDefinition[]
return Symfony\Component\Config\Definition\Builder\NodeDefinition[]

getPassesMetadata() public static method

public static getPassesMetadata ( ) : Metadata[]
return PHPSA\Analyzer\Pass\Metadata[]