Symfony\Component\Templating\Helper\SlotsHelper::start
Starts a new slot.
This method starts an output buffer that will be closed when the stop() method is called.
Signature
public function start(string
$name )
Parameters
$name
— string- The slot name
Errors/Exceptions
-
InvalidArgumentException
- if a slot with the same name is already started