aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Parsing/ParserMode/Nocache.php
blob: 93ffb39573afd4677a3c077755756fdb55d69f36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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;
    }
}