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); } }
public function findTokens($file, FileTokens $fileTokens) { foreach ($this->findTables($file) as $table) { $fileTokens->compare($table); } }