| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | #[Attribute(Attribute::TARGET_CLASS)] |
||
| 24 | final class RemoveRoute extends AbstractAnnotation implements |
||
| 25 | RouteAnnotationInterface |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Removed route name. |
||
| 30 | * |
||
| 31 | * @var string|null |
||
| 32 | */ |
||
| 33 | public ?string $name = null; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string|array|null $name Removed route name or annotation |
||
| 37 | * parameters. |
||
| 38 | * |
||
| 39 | * @throws ReflectionException |
||
| 40 | */ |
||
| 41 | public function __construct( |
||
| 52 |