| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class Scope |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param null|string $name Scope name. Named scopes can have individual bindings and constrains. |
||
| 18 | * @param array<non-empty-string, TResolver> $bindings Custom bindings for the new scope. |
||
|
|
|||
| 19 | * @param bool $autowire If {@see false}, closure will be invoked with just only the passed Container |
||
| 20 | * as the first argument. Otherwise, {@see InvokerInterface::invoke()} will be used to invoke the closure. |
||
| 21 | */ |
||
| 22 | 33 | public function __construct( |
|
| 29 |