| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class SecretGeneratorBootstrapper extends Bootstrapper implements ILazyBootstrapper |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @return array |
||
| 17 | */ |
||
| 18 | public function getBindings(): array |
||
| 19 | { |
||
| 20 | return [ |
||
| 21 | ComputerPasswordGenerator::class, |
||
| 22 | ]; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param IContainer $container |
||
| 27 | * |
||
| 28 | * @throws \Opulence\Ioc\IocException |
||
| 29 | */ |
||
| 30 | public function registerBindings(IContainer $container) |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | private function getSecretLength(): string |
||
| 53 |