Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | final class JoinedTable implements LoadsTables |
||
15 | { |
||
16 | private $makeObjects; |
||
17 | private $relationships; |
||
18 | |||
19 | private function __construct( |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Makes a new joined table converter. |
||
29 | * |
||
30 | * @param MakesObjects $makesObjects The object extractor to use. |
||
31 | * @param WiresObjects $relationships The relationship wiring. |
||
32 | * |
||
33 | * @return LoadsTables The joined table converter. |
||
34 | */ |
||
35 | public static function converter( |
||
36 | MakesObjects $makesObjects, |
||
37 | WiresObjects $relationships |
||
38 | ): LoadsTables { |
||
39 | return new self($makesObjects, $relationships); |
||
40 | } |
||
41 | |||
42 | /** @inheritdoc */ |
||
43 | public function from( |
||
51 | } |
||
52 | } |
||
53 |