1 | <?php |
||
25 | class HtmlFormatter implements FormatterInterface |
||
26 | { |
||
27 | /** |
||
28 | * Writes given message in header format |
||
29 | * |
||
30 | * @param int $uHeading size |
||
31 | * @param string $uMessage message |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | public function writeHeader($uHeading, $uMessage) |
||
39 | |||
40 | /** |
||
41 | * Writes given message in specified color |
||
42 | * |
||
43 | * @param string $uColor color |
||
44 | * @param string $uMessage message |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function writeColor($uColor, $uMessage) |
||
52 | |||
53 | /** |
||
54 | * Writes given message |
||
55 | * |
||
56 | * @param string $uMessage message |
||
57 | * |
||
58 | * @return void |
||
59 | */ |
||
60 | public function write($uMessage) |
||
64 | |||
65 | /** |
||
66 | * Outputs the array in HTML representation |
||
67 | * |
||
68 | * @param array $uArray Target array will be printed |
||
69 | * |
||
70 | * @return void |
||
71 | */ |
||
72 | public function writeArray(array $uArray) |
||
110 | } |
||
111 |