Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
66 | public function formatMessage( |
||
67 | /*# string */ $template, |
||
68 | array $arguments = [] |
||
69 | )/*# : string */ { |
||
70 | $this->stringize($arguments)->matchTemplate($template, $arguments); |
||
71 | return vsprintf( |
||
72 | $this->openTag . |
||
73 | str_replace('%s', '<b>%s</b>', $template) . |
||
74 | $this->closeTag, |
||
75 | $arguments |
||
76 | ); |
||
77 | } |
||
78 | } |
||
79 |