| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] |
||
| 39 | final class BindScope |
||
| 40 | { |
||
| 41 | /** |
||
| 42 | * The scope name to bind to. |
||
| 43 | */ |
||
| 44 | public readonly string $scope; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param string|\BackedEnum $scope The scope name or enum value to bind to. |
||
| 48 | * If an enum is provided, its value will be used as the scope name. |
||
| 49 | */ |
||
| 50 | public function __construct(string|\BackedEnum $scope) |
||
| 55 |