| Total Complexity | 1 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | #[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)] |
||
| 12 | final class Post extends Route |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param array<string,scalar|\Stringable|null> $defaults Parameter default values indexed by parameter names. |
||
| 16 | * @param bool $override Marks route as override. When added it will replace existing route with the same name. |
||
| 17 | * @param array $disabledMiddlewares Excludes middleware from being invoked when action is handled. |
||
| 18 | * It is useful to avoid invoking one of the parent group middleware for |
||
| 19 | * a certain route. |
||
| 20 | */ |
||
| 21 | 2 | public function __construct( |
|
| 42 |