Lines Matching full:file
97 …return Registry::cache()->file()->remember($this->name() . '-latest-version', function (): string {
152 $file = $this->resourcesFolder() . $asset;
154 // Add the file's modification time to the URL, so we can set long expiry cache headers.
155 $hash = filemtime($file);
166 * Serve a CSS/JS file.
174 // The file being requested. e.g. "css/theme.css"
182 // Find the file for this asset.
184 // e.g. $file = view(....)
185 $file = $this->resourcesFolder() . $asset;
187 if (!file_exists($file)) {
188 throw new HttpNotFoundException(e($file));
191 $content = file_get_contents($file);