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