コード例 #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());
 }