1 | <?php |
||
18 | class Route extends CollectionValue implements ClassInterface, MethodInterface |
||
19 | { |
||
20 | /** @var string Route path */ |
||
21 | protected $path; |
||
22 | |||
23 | /** @var string Route identifier */ |
||
24 | protected $identifier; |
||
25 | |||
26 | /** |
||
27 | * Route constructor. |
||
28 | * |
||
29 | * @param $path |
||
30 | * |
||
31 | * @throws \InvalidArgumentException |
||
32 | */ |
||
33 | public function __construct($scopeOrScopes) |
||
37 | |||
38 | /** |
||
39 | * {@inheritDoc} |
||
40 | */ |
||
41 | public function toMethodMetadata(MethodMetadata $metadata) |
||
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | public function toClassMetadata(ClassMetadata $metadata) |
||
53 | } |
||
54 |