Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
46 | public function __construct($eventName, $payload, $attemptCount, $requestUuid) |
||
47 | { |
||
48 | $this->eventName = $eventName; |
||
49 | $this->payload = $payload; |
||
50 | $this->attemptCount = $attemptCount; |
||
51 | $this->requestUuid = $requestUuid; |
||
52 | |||
53 | $payload = json_decode($this->payload, true); |
||
54 | $className = $this->getClassModel(); |
||
55 | $this->model = new $className($payload); |
||
56 | } |
||
57 | |||
103 |