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() { |
||
14 | |||
15 | /** |
||
16 | * Return an instance of the MarkdownTextareaField |
||
17 | * @param string $title |
||
18 | * @param array $params |
||
19 | * @return MarkdownTextareaField |
||
20 | */ |
||
21 | public function scaffoldFormField($title = null, $params = null) { |
||
25 | |||
26 | } |
||
27 |
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.