| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function __invoke( |
||
| 25 | ContainerInterface $container, |
||
| 26 | ?string $requestedName = null, |
||
| 27 | ?array $options = null |
||
| 28 | ): ApiApplicationHydrator { |
||
| 29 | $hydrator = new ApiApplicationHydrator(); |
||
| 30 | |||
| 31 | $hydrator->setServerURl( |
||
| 32 | $container->get('ViewHelperManager')->get('serverurl')->__invoke() |
||
| 33 | ); |
||
| 34 | |||
| 35 | return $hydrator; |
||
| 36 | } |
||
| 38 |