1 | <?php |
||
30 | class DefaultFormatter extends ObjectAbstract implements FormatterInterface |
||
31 | { |
||
32 | /** |
||
33 | * {@inheritDoc} |
||
34 | */ |
||
35 | public function formatMessage( |
||
42 | |||
43 | /** |
||
44 | * Convert any non-string item in the arguments to string |
||
45 | * |
||
46 | * @param array &$arguments |
||
47 | * @return $this |
||
48 | * @access protected |
||
49 | * @since 2.0.10 modified to use json_encode |
||
50 | */ |
||
51 | protected function stringize(array &$arguments) |
||
64 | |||
65 | /** |
||
66 | * Match "%s" in template with the provided arguments. |
||
67 | * |
||
68 | * @param string &$template |
||
69 | * @param array &$arguments |
||
70 | * @return $this |
||
71 | * @access protected |
||
72 | */ |
||
73 | protected function matchTemplate( |
||
86 | } |
||
87 |