Lines Matching refs:template
11 private $template; variable in App\\Tests\\Unit\\Template\\EngineTest
15 $this->template = new Engine(TEST_FIXTURES_DIRECTORY . '/templates');
20 $content = $this->template->render('pages/view.php', [
32 $this->template->register('addAsterisks', function ($var) {
42 $this->template->register('doSomething', [$object, 'doSomething']);
44 $content = $this->template->render('pages/add_function.php', [
55 $this->template->register('noHtml', function ($var) {
62 $this->template->assign([
66 $content = $this->template->render('pages/assignments.php', [
76 $this->template->assign([
82 $this->template->assign([
87 $this->assertEquals(['baz', 'bar', 'qux' => 'quuz'], $this->template->getVariables());
92 $this->template->assign([
96 $content = $this->template->render('pages/invalid_variables.php', [
110 $this->template->assign([
118 $this->template->render('pages/invalid_variables.php', [
126 $this->template->assign([
134 $content = $this->template->render('pages/overrides.php', [
149 $content = $this->template->render('pages/appending.php');
157 $content = $this->template->render('pages/including.php');
165 $content = $this->template->render('pages/no_layout.rss');
172 $this->template->assign([
178 $this->template->render('pages/this/does/not/exist.php', [
187 $this->template->render('pages/extends.php');