PDepend\Engine::__construct PHP Method

__construct() public method

Constructs a new php depend facade.
public __construct ( PDepend\Util\Configuration $configuration, PDepend\Util\Cache\CacheFactory $cacheFactory, PDepend\Metrics\AnalyzerFactory $analyzerFactory )
$configuration PDepend\Util\Configuration The system configuration.
$cacheFactory PDepend\Util\Cache\CacheFactory
$analyzerFactory PDepend\Metrics\AnalyzerFactory
    public function __construct(Configuration $configuration, CacheFactory $cacheFactory, AnalyzerFactory $analyzerFactory)
    {
        $this->configuration = $configuration;
        $this->codeFilter = new NullArtifactFilter();
        $this->fileFilter = new CompositeFilter();
        $this->cacheFactory = $cacheFactory;
        $this->analyzerFactory = $analyzerFactory;
    }