1 | <?php |
||
5 | class Markdown extends NamedElement |
||
6 | { |
||
7 | protected $type = 'markdown'; |
||
8 | |||
9 | protected $configs; |
||
10 | |||
11 | protected $highlight = true; |
||
12 | |||
13 | protected $autoInit = true; |
||
14 | |||
15 | /** |
||
16 | * @return array |
||
17 | */ |
||
18 | public function getConfigs(): array |
||
26 | |||
27 | protected function getDefaultConfigs() |
||
33 | |||
34 | /** |
||
35 | * @param array $configs |
||
36 | * |
||
37 | * @return Markdown |
||
38 | */ |
||
39 | public function setConfigs(array $configs): Markdown |
||
45 | |||
46 | /** |
||
47 | * @return bool |
||
48 | */ |
||
49 | public function isHighlight(): bool |
||
53 | |||
54 | /** |
||
55 | * |
||
56 | * @return Markdown |
||
57 | */ |
||
58 | public function disableHighlight(): Markdown |
||
64 | |||
65 | /** |
||
66 | * @return bool |
||
67 | */ |
||
68 | public function isAutoInit(): bool |
||
72 | |||
73 | /** |
||
74 | * |
||
75 | * @return Markdown |
||
76 | */ |
||
77 | public function disableAutoInit(): Markdown |
||
83 | |||
84 | public function toArray() |
||
92 | } |
||
93 |