PHP Class SensioLabs\Deptrac\ClassNameLayerResolver

Inheritance: implements SensioLabs\Deptrac\ClassNameLayerResolverInterface
Show file Open project: sensiolabs-de/deptrac Class Usage Examples

Protected Properties

Property Type Description
$astMap SensioLabs\AstRunner\AstMap
$astParser SensioLabs\AstRunner\AstParser\AstParserInterface
$collectorFactory CollectorFactory
$configuration Configuration

Public Methods

Method Description
__construct ( Configuration $configuration, SensioLabs\AstRunner\AstMap $astMap, CollectorFactory $collectorFactory, SensioLabs\AstRunner\AstParser\AstParserInterface $astParser ) ClassNameLayerResolver constructor.
getLayersByClassName ( $className )

Method Details

__construct() public method

ClassNameLayerResolver constructor.
public __construct ( Configuration $configuration, SensioLabs\AstRunner\AstMap $astMap, CollectorFactory $collectorFactory, SensioLabs\AstRunner\AstParser\AstParserInterface $astParser )
$configuration Configuration
$astMap SensioLabs\AstRunner\AstMap
$collectorFactory CollectorFactory
$astParser SensioLabs\AstRunner\AstParser\AstParserInterface

getLayersByClassName() public method

public getLayersByClassName ( $className )

Property Details

$astMap protected property

protected AstMap,SensioLabs\AstRunner $astMap
return SensioLabs\AstRunner\AstMap

$astParser protected property

protected AstParserInterface,SensioLabs\AstRunner\AstParser $astParser
return SensioLabs\AstRunner\AstParser\AstParserInterface

$collectorFactory protected property

protected CollectorFactory,SensioLabs\Deptrac $collectorFactory
return CollectorFactory

$configuration protected property

protected Configuration,SensioLabs\Deptrac $configuration
return Configuration