summaryrefslogtreecommitdiff
path: root/tests/functional/test_escapes/Test.php
blob: a67a8a7b133001539b74519be5fbfbcffdd077db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace tests\functional\test_escapes;

use r7r\ste\STECore;
use tests\functional\BaseTest;

class Test extends BaseTest
{
    protected function getDirectory(): string
    {
        return __DIR__;
    }

    protected function setUpSte(STECore $ste): void
    {
        $ste->register_tag("my_echo", function ($ste, $params, $sub) {
            return $params["text"];
        });
    }
}