public function registerNamespace($theme) { $this->viewFactory->addNamespace($theme, $this->getThemePath($theme) . 'views'); }