/**
* {@inheritDoc}
*/
public function getNamespaces()
{
if (empty($this->namespaces)) {
$cacheKey = 'namespaces';
$result = $this->caches['meta']->fetch($cacheKey);
if ($result) {
$this->namespaces = $result;
} else {
$this->namespaces = parent::getNamespaces();
$this->caches['meta']->save($cacheKey, $this->namespaces);
}
}
return $this->namespaces;
}