Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ReceiveSMS | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
6 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace BuyerKiosk\Core; |
| 4 | |
| 5 | class ReceiveSMS extends Nexmo { |
| 6 | private $inbound; |
| 7 | |
| 8 | public function __construct(\Nexmo\Message\InboundMessage $inbound) { |
| 9 | parent::__construct(); |
| 10 | |
| 11 | if($inbound != null) { |
| 12 | $this->inbound = $inbound; |
| 13 | return; |
| 14 | } |
| 15 | $this->inbound = null; |
| 16 | } |
| 17 | |
| 18 | |
| 19 | |
| 20 | } |