Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | final class Moves extends ImmutableCollection |
||
15 | { |
||
16 | use Appending, Filtering; |
||
17 | |||
18 | public function __construct(Move ...$moves) |
||
19 | { |
||
20 | parent::__construct(...$moves); |
||
21 | } |
||
22 | |||
23 | public function current(): Move |
||
26 | } |
||
27 | |||
28 | public static function none(): self |
||
31 | } |
||
32 | |||
33 | public function cost(): float |
||
46 |