| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function __construct($eventName, $payload, $delivery = null) |
||
| 41 | {
|
||
| 42 | $this->eventName = $eventName; |
||
| 43 | $this->payload = $payload; |
||
| 44 | $this->delivery = $delivery; |
||
| 45 | |||
| 46 | $payload = json_decode($this->payload, true); |
||
| 47 | $className = $this->getClassModel(); |
||
| 48 | $this->model = new $className($payload); |
||
| 49 | } |
||
| 50 | |||
| 80 |