protected function getNamespacesObject()
{
if (null === $this->namespaces) {
$query = 'SELECT prefix, uri FROM phpcr_namespaces';
$result = $this->getConnection()->query($query);
$namespaces = (array) $result->fetchAll(\PDO::FETCH_KEY_PAIR);
$namespaces += $this->coreNamespaces;
$this->setNamespaces($namespaces);
}
return $this->namespaces;
}