| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function __invoke( |
||
| 18 | ContainerInterface $container, |
||
| 19 | string $requestedName, |
||
| 20 | array $options = null |
||
| 21 | ): DateTimeHelper { |
||
| 22 | $options = $options ?? $this->getServiceOptions($container, $requestedName, 'view_helpers'); |
||
| 23 | |||
| 24 | return new DateTimeHelper( |
||
| 25 | $options['format'] ?? \DateTimeInterface::ATOM |
||
| 26 | ); |
||
| 29 |