/** * @param File $file * @param bool $hack */ public function convert(File $file, $hack) { foreach ($file->getFunctions() as $function) { $this->convertFunction($function, $hack); } }