Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class IncompatibleIterable extends \InvalidArgumentException implements Exception |
||
12 | { |
||
13 | /** @var iterable */ |
||
14 | protected $arr; |
||
15 | |||
16 | public function __construct(iterable $arr, string $message = '', int $code = 0, \Throwable $previous = null) |
||
17 | { |
||
18 | $this->arr = $arr; |
||
19 | |||
20 | parent::__construct($message, $code, $previous); |
||
21 | } |
||
22 | |||
23 | public function getArr(): iterable |
||
26 | } |
||
27 | } |
||
28 |