protected function canBeExtracted($file) { return $this->isFile($file) && 'twig' === pathinfo($file, PATHINFO_EXTENSION); }