/** * @inheritdoc */ public function generateCSS(Context $context, OutputInterface $output) { $isNotReference = !isset($this->path->currentFileInfo) || !$this->path->currentFileInfo->reference; if ($this->css && $isNotReference) { $output->add('@import '); $this->path->generateCSS($context, $output); if ($this->features) { $output->add(' '); $this->features->generateCSS($context, $output); } $output->add(';'); } return $output; }