| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | #[Attribute(Attribute::TARGET_CLASS)] |
||
| 25 | #[NamedArgumentConstructor()] |
||
| 26 | final class GuardNamespace implements NamedArgumentConstructorAttribute |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @Annotation\Attribute(name="namespace", type="string", required=true) |
||
| 30 | * @type string |
||
| 31 | */ |
||
| 32 | public $namespace; |
||
| 33 | |||
| 34 | public function __construct(string $namespace) |
||
| 39 |