protected function handleImports(Node $node) { foreach ($node->find('import') as $importNode) { if (!$this->_options['allowImports']) { $this->throwException('Imports are not allowed in this compiler instance', $node); } $this->handleImport($importNode); } return $this; }