Method | Description | |
---|---|---|
filter ( mixed $content ) : mixed | Filter applied to concenated content before its written to the cache file. | |
filterFile ( mixed $content, string $file, SplFileInfo $fileInfo, string $bundleUrl, string $bundlePath ) : mixed | Filter applied to a single file after it has beed loaded. |
public filterFile ( mixed $content, string $file, SplFileInfo $fileInfo, string $bundleUrl, string $bundlePath ) : mixed | ||
$content | mixed | |
$file | string | File as it appears in the href/src attribute |
$fileInfo | SplFileInfo | |
$bundleUrl | string | The url of the bundle this file will be added to |
$bundlePath | string | The path of the bundle this file will be added to |
return | mixed |