1 | <?php |
||
26 | class HtmlFormatter extends DefaultFormatter |
||
27 | { |
||
28 | /** |
||
29 | * opening tag |
||
30 | * |
||
31 | * @var string |
||
32 | * @access protected |
||
33 | */ |
||
34 | protected $openTag = '<span class="message">'; |
||
35 | |||
36 | /** |
||
37 | * closing tag |
||
38 | * |
||
39 | * @var string |
||
40 | * @access protected |
||
41 | */ |
||
42 | protected $closeTag = '</span>'; |
||
43 | |||
44 | /** |
||
45 | * constructor |
||
46 | * |
||
47 | * @param string $openTag opening tag |
||
48 | * @param string $closeTag closing tag |
||
49 | * @access public |
||
50 | */ |
||
51 | public function __construct( |
||
62 | |||
63 | /** |
||
64 | * {@inheritDoc} |
||
65 | */ |
||
66 | public function formatMessage( |
||
78 | } |
||
79 |