| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class DateTimeHelper extends AbstractHelper |
||
| 10 | { |
||
| 11 | public function __construct(private readonly string $format) |
||
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param \DateTimeInterface|null $dateTime |
||
| 17 | * @param array<string, mixed> $options |
||
| 18 | * |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function __invoke(?\DateTimeInterface $dateTime, array $options = []): string |
||
| 32 |