| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 6 | public function __construct( |
|
| 18 | string $event, |
||
| 19 | string $model, |
||
| 20 | array $attributes, |
||
| 21 | float $version, |
||
| 22 | array $metadata, |
||
| 23 | string $appId, |
||
| 24 | array $headers = [] |
||
| 25 | ) { |
||
| 26 | 6 | $this->event = $event; |
|
| 27 | 6 | $this->model = $model; |
|
| 28 | 6 | $this->attributes = $attributes; |
|
| 29 | 6 | $this->version = $version; |
|
| 30 | 6 | $this->metadata = $metadata; |
|
| 31 | 6 | $this->appId = $appId; |
|
| 32 | 6 | $this->headers = $headers; |
|
| 33 | } |
||
| 70 |