aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Parsing/ParserMode/Nocache.php
blob: fa6db8305bb6c5431f451b71e00d68398c08fb5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace dokuwiki\Parsing\ParserMode;

class Nocache extends AbstractMode
{

    /** @inheritdoc */
    public function connectTo($mode)
    {
        $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
    }

    /** @inheritdoc */
    public function getSort()
    {
        return 40;
    }
}