| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | final protected function bootstrapSimpleTag($name, $content) { |
||
| 56 | |||
| 57 | // Initialize the template. |
||
| 58 | $template = "<" . $name . ">%innerHTML%</" . $name . ">"; |
||
| 59 | |||
| 60 | // Initialize the parameters. |
||
| 61 | $innerHTML = null !== $content ? $content : ""; |
||
| 62 | |||
| 63 | // Return the HTML. |
||
| 64 | return StringUtility::replace($template, ["%innerHTML%"], [$innerHTML]); |
||
| 65 | } |
||
| 66 | |||
| 68 |