receive() public method

Receives an incoming message via REST call.
public receive ( mixed $raw ) : IncomingMessage
$raw mixed
return SimpleSoftwareIO\SMS\IncomingMessage
Esempio 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);
 }
Esempio 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);
 }