Searched refs:register (Results 1 – 3 of 3) sorted by relevance
32 $this->template->register('addAsterisks', function ($var) {42 $this->template->register('doSomething', [$object, 'doSomething']);55 $this->template->register('noHtml', function ($var) {
75 public function register(string $name, callable $callable): void function in App\\Template\\Engine
170 $template->register('formatDate', function (int $timestamp): string {178 $template->register('doSomething', [$object, 'methodName']);
Completed in 8 milliseconds