| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class Choose implements RepresentsChoice |
||
| 20 | { |
||
| 21 | private $class; |
||
| 22 | |||
| 23 | private function __construct(MakesMap $class) |
||
| 24 | { |
||
| 25 | $this->class = $class; |
||
| 26 | } |
||
| 27 | |||
| 28 | public static function the(string $class) : RepresentsChoice |
||
| 31 | } |
||
| 32 | |||
| 33 | public function with(string $property, InstructsHowToMap $howToMap = null) : RepresentsChoice |
||
| 34 | { |
||
| 35 | $this->class = $this->class->property($property, $howToMap); |
||
| 36 | return $this; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function hydrator() : Hydrates |
||
| 42 | } |
||
| 43 | } |
||
| 44 |