queue() public method

Queues a SMS message.
public queue ( string $view, array $data, Closure | string $callback, null | string $queue = null )
$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.
$queue null | string The desired queue to push the message to.
Example #1
0
 /**
  * Queues a SMS message.
  *
  * @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.
  * @param null|string $queue The desired queue to push the message to.
  * @return void 
  * @static 
  */
 public static function queue($view, $data, $callback, $queue = null)
 {
     \SimpleSoftwareIO\SMS\SMS::queue($view, $data, $callback, $queue);
 }