receive() public method

Receives an incoming message via REST call.
public receive ( mixed $raw ) : IncomingMessage
$raw mixed
return SimpleSoftwareIO\SMS\IncomingMessage
コード例 #1
0
ファイル: SMS.php プロジェクト: Skintillion/simple-sms
 /**
  * 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);
 }
コード例 #2
0
ファイル: SMS.php プロジェクト: simplesoftwareio/simple-sms
 /**
  * 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);
 }