| 1 | <?php |
||
| 5 | class MarkdownTextExtra extends MarkdownText |
||
|
|
|||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Return MarkdownExtra content as HTML for templates |
||
| 9 | * @return string HTML |
||
| 10 | */ |
||
| 11 | public function forTemplate() |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Return an instance of the MarkdownTextareaField |
||
| 18 | * @param string $title |
||
| 19 | * @param array $params |
||
| 20 | * @return MarkdownTextareaField |
||
| 21 | */ |
||
| 22 | public function scaffoldFormField($title = null, $params = null) |
||
| 27 | } |
||
| 28 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.