Conditions | 2 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function __invoke(ContainerInterface $container, string $requestedName, array $options = null): UidProcessor |
||
20 | { |
||
21 | $options = $options ?? $this->getServiceOptions($container, $requestedName); |
||
22 | |||
23 | return new UidProcessor( |
||
24 | isset($options['length']) ? (int)$options['length'] : 7 |
||
25 | ); |
||
28 |