public function import(\DOMNode $node, $file = null)
{
if ('bundle' === $node->nodeName) {
$imported = $this->importNode($node);
$root = realpath($this->getJarves()->getRootDir() . '/../');
foreach ($imported as $property) {
$this->imported[$property] = Tools::getRelativePath($file, $root);
}
}
}