TwigContainer::addShared
Allows the adding of a shared service by the user
Signature
public function addShared(string
$name,
Closure
$shared )
Parameters
$name
— string- Name of service
$shared
— object- The shared service function