Lines Matching refs:template
11 protected string $template;
20 * @param string $template
29 * @param string $template
31 public function setTemplate(string $template): void
33 $this->template = $template;
59 $template = $this->getTemplate();
60 } elseif (!empty($this->template)) {
61 $template = $this->template;
64 if (empty($template)) {
65 throw new \Exception('getTemplate()/template property is empty');
68 return preg_replace_callback('/\[([^]]+)\]/', [$this, 'doReplacements'], $template);