class SlotsHelper extends Helper
SlotsHelper manages template slots.
Methods
setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper start(string $name) Starts a new slot.
stop() Stops a slot.
bool has(string $name) Returns true if the slot exists.
string get(string $name, bool|string $default = false) Gets the slot value.
set(string $name, string $content) Sets a slot value.
bool output(