PHP Class SensioLabs\Deptrac\DependencyContext

Mostrar archivo Open project: sensiolabs-de/deptrac Class Usage Examples

Public Methods

Method Description
__construct ( SensioLabs\AstRunner\AstMap $astMap, array $violations, DependencyResult $dependencyResult, SensioLabs\Deptrac\ClassNameLayerResolverInterface $classNameLayerResolver ) DependencyContext constructor.
getAstMap ( ) : SensioLabs\AstRunner\AstMap
getClassNameLayerResolver ( ) : SensioLabs\Deptrac\ClassNameLayerResolverInterface
getDependencyResult ( ) : DependencyResult
getViolations ( ) : RulesetViolation[]

Method Details

__construct() public method

DependencyContext constructor.
public __construct ( SensioLabs\AstRunner\AstMap $astMap, array $violations, DependencyResult $dependencyResult, SensioLabs\Deptrac\ClassNameLayerResolverInterface $classNameLayerResolver )
$astMap SensioLabs\AstRunner\AstMap
$violations array
$dependencyResult DependencyResult
$classNameLayerResolver SensioLabs\Deptrac\ClassNameLayerResolverInterface

getAstMap() public method

public getAstMap ( ) : SensioLabs\AstRunner\AstMap
return SensioLabs\AstRunner\AstMap

getClassNameLayerResolver() public method

public getClassNameLayerResolver ( ) : SensioLabs\Deptrac\ClassNameLayerResolverInterface
return SensioLabs\Deptrac\ClassNameLayerResolverInterface

getDependencyResult() public method

public getDependencyResult ( ) : DependencyResult
return DependencyResult

getViolations() public method

public getViolations ( ) : RulesetViolation[]
return SensioLabs\Deptrac\RulesetEngine\RulesetViolation[]