| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class VisitedNodeSkipperFactory implements SearchStrategyFactory |
||
| 13 | { |
||
| 14 | /** @var SearchStrategyFactory */ |
||
| 15 | private $factory; |
||
| 16 | |||
| 17 | private function __construct(SearchStrategyFactory $factory) |
||
| 18 | { |
||
| 19 | $this->factory = $factory; |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function using(SearchStrategyFactory $factory): SearchStrategyFactory |
||
| 25 | } |
||
| 26 | |||
| 27 | public function begin(Puzzle $puzzle): SearchStrategy |
||
| 32 |