SensioLabs\DeprecationDetector\DetectorFactory::getUsageParser PHP Method

getUsageParser() private method

private getUsageParser ( Configuration $configuration ) : SensioLabs\DeprecationDetector\Parser\UsageParser
$configuration SensioLabs\DeprecationDetector\Configuration\Configuration
return SensioLabs\DeprecationDetector\Parser\UsageParser
    private function getUsageParser(Configuration $configuration)
    {
        return new UsageParser($this->getStaticAnalysisVisitors($configuration), $this->getViolationVisitors(), $this->getBaseTraverser(), new NodeTraverser(), new NodeTraverser());
    }