SimpleSoftwareIO\SMS\Drivers\DriverInterface::receive PHP 메소드

receive() 공개 메소드

Receives an incoming message via REST call.
public receive ( mixed $raw ) : IncomingMessage
$raw mixed
리턴 SimpleSoftwareIO\SMS\IncomingMessage
    public function receive($raw);

Usage Example

예제 #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);
 }
All Usage Examples Of SimpleSoftwareIO\SMS\Drivers\DriverInterface::receive