Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace nyx\core\collections\exceptions; |
||
26 | public function __construct(collections\interfaces\Collection $collection, $key, string $message = null, $code = 0, $previous = null) |
||
27 | { |
||
28 | $this->key = $key; |
||
29 | |||
30 | parent::__construct($collection, $message ?? "No item with the key [$key] exists in the Collection.", $code, $previous); |
||
31 | } |
||
32 | |||
43 |