예제 #1
0
 public function findTokens($file, FileTokens $fileTokens)
 {
     $statements = $this->parser->parseFile($file);
     foreach ($this->filter->filterClassNames($statements) as $className) {
         $fileTokens->compare($className);
     }
 }
 public function findTokens($file, FileTokens $fileTokens)
 {
     $statements = $this->parser->parseFile($file);
     foreach ($this->filter->filterFunctions($statements) as $function) {
         $fileTokens->compare($function->name);
     }
 }
예제 #3
0
 public function findTokens($file, FileTokens $fileTokens)
 {
     foreach ($this->findTables($file) as $table) {
         $fileTokens->compare($table);
     }
 }