original_string: public function addGuestActions($guestActions)
      {
          if (!is_array($guestActions)) {
              $guestActions = [$guestActions];
          }
  
          $this->_guestActions = Hash::merge($this->_guestActions, $guestActions);
      }
code: public function addGuestActions($guestActions)
      {
          if (!is_array($guestActions)) {
              $guestActions = [$guestActions];
          }
  
          $this->_guestActions = Hash::merge($this->_guestActions, $guestActions);
      }
code_tokens: public function addGuestActions ( $ guestActions ) { if ( ! is_array ( $ guestActions ) ) { $ guestActions = [ $ guestActions ] ; } $ this -> _guestActions = Hash :: merge ( $ this -> _guestActions , $ guestActions ) ; }
docstring: Add guest actions which don't require a logged in user.
  
  @param array|string $guestActions The guest action to add.
  @return void
docstring_tokens: Add guest actions which don t require a logged in user .