public function addGuestActions($guestActions)
    {
        if (!is_array($guestActions)) {
            $guestActions = [$guestActions];
        }

        $this->_guestActions = Hash::merge($this->_guestActions, $guestActions);
    }
public function addGuestActions($guestActions)
    {
        if (!is_array($guestActions)) {
            $guestActions = [$guestActions];
        }

        $this->_guestActions = Hash::merge($this->_guestActions, $guestActions);
    }
public function addGuestActions ( $ guestActions ) { if ( ! is_array ( $ guestActions ) ) { $ guestActions = [ $ guestActions ] ; } $ this -> _guestActions = Hash :: merge ( $ this -> _guestActions , $ guestActions ) ; }
Add guest actions which don't require a logged in user.

@param array|string $guestActions The guest action to add.
@return void
Add guest actions which don t require a logged in user .