Codesleeve\AssetPipeline\Filters\URLRewrite::filterDump PHP Method

filterDump() public method

public filterDump ( Assetic\Asset\AssetInterface $asset )
$asset Assetic\Asset\AssetInterface
    public function filterDump(AssetInterface $asset)
    {
        $this->root = $asset->getSourceRoot() . '/';
        $this->file = $asset->getSourcePath();
        $this->base = $this->getRelativePath($this->paths, $this->root);
        $content = $this->filterReferences($asset->getContent(), array($this, 'url_matcher'));
        $asset->setContent($content);
    }