Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
12 | final class IterationLimiterFactory implements SearchStrategyFactory |
||
13 | { |
||
14 | /** @var SearchStrategyFactory */ |
||
15 | private $factory; |
||
16 | /** @var int */ |
||
17 | private $limit; |
||
18 | |||
19 | private function __construct(SearchStrategyFactory $factory, int $limit) |
||
23 | } |
||
24 | |||
25 | public static function limitingTo( |
||
30 | } |
||
31 | |||
32 | public function begin(Puzzle $puzzle): SearchStrategy |
||
37 |