Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | public function createFor( |
||
45 | $theOwner, |
||
46 | string $ofTheProperty, |
||
47 | $atPosition = null |
||
48 | ) : Proxy |
||
49 | { |
||
50 | $loader = $this->loaderFactory->makeLoaderFor($theOwner, $ofTheProperty, $atPosition); |
||
51 | $loader->attach( |
||
52 | $this->updaterFactory->makeUpdaterFor($theOwner, $ofTheProperty, $atPosition) |
||
53 | ); |
||
54 | return $this->makeProxy->fromArray([ |
||
55 | 'loader' => $loader |
||
56 | ]); |
||
59 |