queueOn() public method

Queues a SMS message to a given queue.
public queueOn ( null | string $queue, string $view, array $data, Closure | string $callback )
$queue null | string The desired queue to push the message to.
$view string The desired view.
$data array An array of data to fill the view.
$callback Closure | string The callback to run on the Message class.
Example #1
0
 /**
  * Queues a SMS message to a given queue.
  *
  * @param null|string $queue The desired queue to push the message to.
  * @param string $view The desired view.
  * @param array $data An array of data to fill the view.
  * @param \Closure|string $callback The callback to run on the Message class.
  * @return void 
  * @static 
  */
 public static function queueOn($queue, $view, $data, $callback)
 {
     \SimpleSoftwareIO\SMS\SMS::queueOn($queue, $view, $data, $callback);
 }