public function buildCache()
    {
        if (!empty($this->viewDirectories) || !empty($this->configDirectories) || !empty($this->resourceDirectories)) {
            return;
        }

        foreach ($this->orderReference as $namespace)
        {
            /**
             * @var \Slab\Components\BundleInterface $bundle
             */
            $bundle =& $this->bundleReference[$namespace];

            $this->viewDirectories[] = $bundle->getViewDirectory();
            $this->configDirectories[] = $bundle->getConfigDirectory();
            $this->resourceDirectories[] = $bundle->getResourceDirectory();
        }
    }