model instanceof SeoInterface) { // $modelNamespace = get_class($this->model)::getModelNamespace(); // // $this->_seoModel = Seo::getModelByNamespace($modelNamespace, (isset($this->model->id)) ? $this->model->id : null); // $this->_seoModelLang = (isset($this->_seoModel->lang)) ? $this->_seoModel->lang : new SeoLang(); // } } /** * Run run run * * @return string */ public function run() { return $this->render($this->view, [ 'model' => $this->model, 'form' => $this->form, 'galleryManager' => new GalleryManager() ]); } }