| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | final class Safely implements Heuristic |
||
| 9 | { |
||
| 10 | private $heuristic; |
||
| 11 | private $environment; |
||
| 12 | |||
| 13 | private function __construct( |
||
| 19 | } |
||
| 20 | |||
| 21 | public static function apply(Heuristic $heuristic): self |
||
| 24 | } |
||
| 25 | |||
| 26 | public function estimate(string $start, string $goal): float |
||
| 32 | } |
||
| 33 | |||
| 34 | public function environment(): Environment |
||
| 39 |