public function init(Di\ContainerInterface $container) { $container->template('routerTemplate'); }
private function applyTransient(ContainerInterface $container, Reflection\MethodReflector $method) { if ($method->getDocBlock()->hasTag(self::DOC_TAG_TRANSIENT)) { $container->template($method->getName()); } }