Symfony\Component\Templating\Helper\SlotsHelper::output
Outputs a slot.
Signature
public function output(string
$name,
[Boolean|string
$default = false] )
Parameters
$name
— string- The slot name
$default
— object- The default slot content
Returns
- Boolean
- true if the slot is defined or if a default content has been provided, false otherwise