| Conditions | 3 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 12 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 27 | public function __invoke( | ||
| 28 | ContainerInterface $container, | ||
| 29 | string $requestedName, | ||
| 30 | array $options = null | ||
| 31 |     ): MemoryPeakUsageProcessor { | ||
| 32 | $options = $options ?? $this->getServiceOptions($container, $requestedName); | ||
| 33 | |||
| 34 | return new MemoryPeakUsageProcessor( | ||
| 35 | !isset($options['real_usage']) || $options['real_usage'], | ||
| 36 | !isset($options['use_formatting']) || $options['use_formatting'] | ||
| 37 | ); | ||
| 40 |