/**
* Returns the namespace of the bundle of the object key.
*
* JarvesBundle/node => JarvesBundle.
* bundleWithNameSpace/myObject => Bundle\With\Namespace.
*
* @param string $objectKey
*
* @return string
*/
public function getNamespace($objectKey)
{
$objectKey = Objects::normalizeObjectKey($objectKey);
$temp = explode('/', $objectKey);
$config = $this->jarves->getConfig($temp[0]);
return $config ? $config->getBundleClass()->getNamespace() : null;
}