public function locate($file, $currentPath = null, $first = true) { if ('@' === $file[0]) { return $this->kernel ->locateResource($file, $this->path, $first); } return parent::locate($file, $currentPath, $first); }