Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace nyx\core\collections\exceptions; |
||
32 | public function __construct(collections\interfaces\Collection $collection, $key, $value, string $message = null, $code = 0, $previous = null) |
||
33 | { |
||
34 | $this->key = $key; |
||
35 | $this->value = $value; |
||
36 | |||
37 | parent::__construct($collection, $message ?? "An item with this key [$key] has already been set.", $code, $previous); |
||
38 | } |
||
39 | |||
60 |