Home
last modified time | relevance | path

Searched refs:register (Results 1 – 3 of 3) sorted by relevance

/web-bugs/tests/Unit/Template/
H A DEngineTest.php32 $this->template->register('addAsterisks', function ($var) {
42 $this->template->register('doSomething', [$object, 'doSomething']);
55 $this->template->register('noHtml', function ($var) {
/web-bugs/src/Template/
H A DEngine.php75 public function register(string $name, callable $callable): void function in App\\Template\\Engine
/web-bugs/docs/
H A Dtemplates.md170 $template->register('formatDate', function (int $timestamp): string {
178 $template->register('doSomething', [$object, 'methodName']);

Completed in 8 milliseconds