We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c7af36 commit 455e5b8Copy full SHA for 455e5b8
Tests/Fixtures/AttributeFixtures/ExtendedRoute.php
@@ -7,7 +7,8 @@
7
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
8
class ExtendedRoute extends Route
9
{
10
- public function __construct(array|string $path = null, ?string $name = null, array $defaults = []) {
+ public function __construct(array|string $path = null, ?string $name = null, array $defaults = [])
11
+ {
12
parent::__construct("/{section<(foo|bar|baz)>}" . $path, $name, [], [], array_merge(['section' => 'foo'], $defaults));
13
}
14
0 commit comments