public function getBundleNamespaceRoot()
    {
        $bundleParts = explode('\\', $this->getNamespace());
        unset($bundleParts[count($bundleParts) - 1]);

        return implode('\\', $bundleParts);
    }