receive() public method

Receives an incoming message via REST call.
public receive ( mixed $raw ) : IncomingMessage
$raw mixed
return SimpleSoftwareIO\SMS\IncomingMessage
Ejemplo n.º 1
0
 /**
  * Receives a SMS via a push request.
  *
  * @return IncomingMessage
  */
 public function receive()
 {
     //Passes all of the request onto the driver.
     $raw = $this->container['Input'];
     return $this->driver->receive($raw);
 }
Ejemplo n.º 2
0
 /**
  * Receives a SMS via a push request.
  *
  * @return IncomingMessage
  */
 public function receive()
 {
     //Passes all of the request onto the driver.
     $raw = $this->container['Illuminate\\Support\\Facades\\Input'];
     return $this->driver->receive($raw);
 }