public function getModel() { if ($this->model instanceof AuthorizationModel) { return $this->model; } $this->model = $this->factory->factory($this->getModuleName()); return $this->model; }