| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | public static function getDescription() : string |
||
| 52 | { |
||
| 53 | return 'Triggers the WebHemi\'s built-in timer and returns the data in array:'.PHP_EOL |
||
| 54 | . '\'start_time\': the time when the timer had been called (called automatically).'.PHP_EOL |
||
| 55 | . '\'end_time\': the time when the timer had been stopped (called in a template)'.PHP_EOL |
||
| 56 | . '\'duration\': the difference in seconds '.PHP_EOL |
||
| 57 | . '\'memory\': the maximum memory usage during the render in a human readable format '.PHP_EOL; |
||
| 58 | } |
||
| 59 | |||
| 70 |