Esempio n. 1
0
 private function isAddNewAvaliable()
 {
     $defaultBeh = !$this->viewMore;
     $addNew = $this->service->isCurrentUserCanAddOptions($this->question);
     return $this->showAddNew !== null ? $this->showAddNew && $addNew : $defaultBeh && $addNew;
 }