| 1 | <?php |
||
| 15 | class PhpVersion extends Collector implements StartCollectorInterface, BarRenderableInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Fetch data |
||
| 19 | * @return mixed |
||
| 20 | */ |
||
| 21 | 12 | public function resolve() |
|
| 25 | |||
| 26 | 10 | public function validate() |
|
| 32 | |||
| 33 | /** |
||
| 34 | * The path in the final json |
||
| 35 | * @example |
||
| 36 | * path /aa/bb |
||
| 37 | * will be transformed to |
||
| 38 | * { |
||
| 39 | * aa : { |
||
| 40 | * bb: <VALUE OF RESOLVE> |
||
| 41 | * } |
||
| 42 | * } |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 110 | public function getPath() |
|
| 49 | } |
||
| 50 |