| 1 | <?php |
||
| 10 | class Request implements DataCollectorInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Get the title of this data collector |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | 1 | public function getTitle() |
|
| 21 | |||
| 22 | /** |
||
| 23 | * Get the icon HTML markup |
||
| 24 | * |
||
| 25 | * For example font-awesome icons: <i class="fa fa-pie-chart"></i> |
||
| 26 | * See: http://fortawesome.github.io/Font-Awesome/icons/ |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | 1 | public function getIcon() |
|
| 31 | { |
||
| 32 | 1 | return '<i class="fa fa-arrow-circle-o-down"></i>'; |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get data from the data collector |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | 1 | public function getData() |
|
| 56 | } |
||
| 57 |