| 1 | <?php |
||
| 17 | class Route extends CollectionValue implements MethodInterface |
||
| 18 | { |
||
| 19 | /** @var string Route path */ |
||
| 20 | protected $path; |
||
| 21 | |||
| 22 | /** @var string Route identifier */ |
||
| 23 | protected $identifier; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Route constructor. |
||
| 27 | * |
||
| 28 | * @param $path |
||
| 29 | */ |
||
| 30 | public function __construct($scopeOrScopes) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Convert to class metadata. |
||
| 38 | * |
||
| 39 | * @param ClassMetadata $metadata Input metadata |
||
| 40 | * |
||
| 41 | * @return ClassMetadata Annotation conversion to metadata |
||
| 42 | */ |
||
| 43 | public function toMethodMetadata(ClassMetadata $metadata) |
||
| 47 | } |
||
| 48 |