TwigContainer::addExtension
Alows the extending of already defined services by the user
Signature
public function addExtension(string
$name,
Closure
$extension )
Parameters
$name
— string- Name of service
$extension
— object- Extending function