code: public function addAction(AbstractAction $action)
      {
          $action->setGroup($this);
  
          $this->actions[$action->getName()] = $action;
  
          return $this;
      }
docs: Adds action.
  
  @param AbstractAction $action Group action
  
  @return $this