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 kch42\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"]; }); } }