public function setAction($actionName) { if (!$this->actions->has($actionName)) { throw new \InvalidArgumentException("Action {$actionName} does not exist"); } $this->action = $this->actions->get($actionName); }
public function getListAction($actionName) { if ($this->listActions->has($actionName)) { return $this->listActions->get($actionName); } }