1 | <?php |
||
11 | abstract class AbstractMode implements ModeInterface |
||
12 | { |
||
13 | /** @var \dokuwiki\Parsing\Lexer\Lexer $Lexer will be injected on loading FIXME this should be done by setter */ |
||
14 | public $Lexer; |
||
15 | protected $allowedModes = array(); |
||
16 | |||
17 | /** @inheritdoc */ |
||
18 | abstract public function getSort(); |
||
19 | |||
20 | /** @inheritdoc */ |
||
21 | public function preConnect() |
||
24 | |||
25 | /** @inheritdoc */ |
||
26 | public function connectTo($mode) |
||
29 | |||
30 | /** @inheritdoc */ |
||
31 | public function postConnect() |
||
34 | |||
35 | /** @inheritdoc */ |
||
36 | public function accepts($mode) |
||
40 | } |
||
41 |