예제 #1
0
 protected function configureAnalyzer(Analyzer $analyzer)
 {
     $visitor = (new PublicClass())->setThreshold($this->threshold)->setMinMethodCount($this->minMethodCount);
     $analyzer->addVisitor('analyze', $visitor);
 }
예제 #2
0
 protected function configureAnalyzer(Analyzer $analyzer)
 {
     $analyzer->addVisitor('analyze', $this->visitor);
 }
예제 #3
0
 protected function configureAnalyzer(Analyzer $analyzer)
 {
     $analyzer->addVisitor('analyze', new PublicAttributes());
 }