cssResolver = $cssResolver; $this->notationResolver = $notationResolver; } /** * {@inheritdoc} */ public function process(Chain $chain) { $asset = $chain->getAsset(); $callback = function ($path) use ($asset) { return $this->notationResolver->convertModuleNotationToPath($asset, $path); }; $chain->setContent($this->cssResolver->replaceRelativeUrls($chain->getContent(), $callback)); } }