xref: /dokuwiki/inc/Parsing/ParserMode/Nocache.php (revision a1ef4d6260401c454faedc5d90cb3887bb07a19c)
1<?php
2
3namespace dokuwiki\Parsing\ParserMode;
4
5class Nocache extends AbstractMode
6{
7    /** @inheritdoc */
8    public function connectTo($mode)
9    {
10        $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
11    }
12
13    /** @inheritdoc */
14    public function getSort()
15    {
16        return 40;
17    }
18}
19