/** * This method gets the called template. * @param Model $model */ public function getTemplate(Model $model) { if ($this->request->getObject() !== $this->newObject) { $model->buildSecondaryClientModel($this->newObject); } $this->loadTemplate($model); }