public function push($name, $command, array $options = [])
    {
        $this->connection()->rpush('commands:'.$name, json_encode([
            'command' => $command,
            'options' => $options,
        ]));
    }
public function push($name, $command, array $options = [])
    {
        $this->connection()->rpush('commands:'.$name, json_encode([
            'command' => $command,
            'options' => $options,
        ]));
    }
public function push ( $ name , $ command , array $ options = [ ] ) { $ this -> connection ( ) -> rpush ( 'commands:' . $ name , json_encode ( [ 'command' => $ command , 'options' => $ options , ] ) ) ; }
Push a command onto a given queue.

@param  string  $name
@param  string  $command
@param  array  $options
Push a command onto a given queue .