Lines Matching refs:name
89 public function block(string $name): string argument
91 return $this->blocks[$name] ?? '';
99 public function start(string $name): void argument
101 $this->blocks[$name] = '';
112 public function append(string $name): void argument
114 if (!isset($this->blocks[$name])) {
115 $this->blocks[$name] = '';
126 public function end(string $name): void argument
132 if (!empty($this->blocks[$name])) {
133 $this->blocks[$name] .= $content;
135 $this->blocks[$name] = $content;