SensioLabs\Deptrac\DependencyContext::__construct PHP Method

__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
    public function __construct(AstMap $astMap, array $violations, DependencyResult $dependencyResult, ClassNameLayerResolverInterface $classNameLayerResolver)
    {
        $this->astMap = $astMap;
        $this->violations = $violations;
        $this->dependencyResult = $dependencyResult;
        $this->classNameLayerResolver = $classNameLayerResolver;
    }