public function send($immediately = false)
    {
        if (!self::$enableQueue || $this->pushedToQueue) {
            $immediately = true;
        }
        if ($immediately) {
            return self::$task->data($this->all())->run($this->firstAgent);
        }

        return $this->push();
    }
public function send($immediately = false)
    {
        if (!self::$enableQueue || $this->pushedToQueue) {
            $immediately = true;
        }
        if ($immediately) {
            return self::$task->data($this->all())->run($this->firstAgent);
        }

        return $this->push();
    }
public function send ( $ immediately = false ) { if ( ! self :: $ enableQueue || $ this -> pushedToQueue ) { $ immediately = true ; } if ( $ immediately ) { return self :: $ task -> data ( $ this -> all ( ) ) -> run ( $ this -> firstAgent ) ; } return $ this -> push ( ) ; }
Start send.

If call with a `true` parameter, this system will immediately start request to send sms whatever whether to use the queue.
if the current instance has pushed to the queue, you can recall this method in queue system without any parameter,
so this mechanism in order to make you convenient to use this method in queue system.

@param bool $immediately

@return mixed
Start send .