| 1 | <?php  | 
            ||
| 12 | class LogFormatter  | 
            ||
| 13 | { | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * Recursive method, will call itself if a sub element is an array  | 
            ||
| 17 | * @param array $data  | 
            ||
| 18 | * @param bool $first start with an opening bracket? if true, skip (counterintuitive, but naming)  | 
            ||
| 19 | * @return string formatted <ul><li> of the array;  | 
            ||
| 20 | */  | 
            ||
| 21 | public static function entryToUl($data, $first = true)  | 
            ||
| 45 | |||
| 46 | }  |