1 | <?php |
||
17 | abstract class Route extends Collector implements StartCollectorInterface, BarRenderableInterface |
||
18 | { |
||
19 | /** |
||
20 | * The path in the final json |
||
21 | * |
||
22 | * @example |
||
23 | * path /aa/bb |
||
24 | * will be transformed to |
||
25 | * { |
||
26 | * aa : { |
||
27 | * bb: <VALUE OF RESOLVE> |
||
28 | * } |
||
29 | * } |
||
30 | * @return string |
||
31 | */ |
||
32 | 2 | public function getPath() |
|
36 | |||
37 | 6 | public function getDataFields() |
|
43 | |||
44 | 2 | public function validate() |
|
50 | |||
51 | /** |
||
52 | * @return RendererInterface |
||
53 | * |
||
54 | * @throws \RuntimeException |
||
55 | */ |
||
56 | public function getRenderer() |
||
60 | } |
||
61 |