src/Octopush/Message.php
public function setRequestMode($mode)
    {
        if (!in_array($mode, ['real', 'simu'])) {
            $message = sprintf(
              'The request mode %s is not supported, real or simu expected!',
              $mode
            );
            throw new \InvalidArgumentException($message, 500);
        }
        $this->params['request_mode'] = $mode;
        return $this;
    }
public function setRequestMode($mode)
    {
        if (!in_array($mode, ['real', 'simu'])) {
            $message = sprintf(
              'The request mode %s is not supported, real or simu expected!',
              $mode
            );
            throw new \InvalidArgumentException($message, 500);
        }
        $this->params['request_mode'] = $mode;
        return $this;
    }
public function setRequestMode ( $ mode ) { if ( ! in_array ( $ mode , [ 'real' , 'simu' ] ) ) { $ message = sprintf ( 'The request mode %s is not supported, real or simu expected!' , $ mode ) ; throw new \ InvalidArgumentException ( $ message , 500 ) ; } $ this -> params [ 'request_mode' ] = $ mode ; return $ this ; }
The request_mode param 	Optionnel

Allows you to choose simulation mode with the value 'simu'. * Default: real

Permet de choisir le mode simulation avec la valeur 'simu'. * défaut : real

@param string $mode
@return \Octopush\Message
The request_mode param Optionnel