DotsUnited\BundleFu\Filter\FilterInterface::filterFile PHP Method

filterFile() public method

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
    public function filterFile($content, $file, \SplFileInfo $fileInfo, $bundleUrl, $bundlePath);
FilterInterface