PHP Class SensioLabs\Deptrac\ClassNameLayerResolver

Inheritance: implements SensioLabs\Deptrac\ClassNameLayerResolverInterface
显示文件 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_oe property

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

$astParser protected_oe property

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

$collectorFactory protected_oe property

protected CollectorFactory,SensioLabs\Deptrac $collectorFactory
return CollectorFactory

$configuration protected_oe property

protected Configuration,SensioLabs\Deptrac $configuration
return Configuration