protected function register(ContainerInterface $container)
{
$config = $container->make('Kraken\\Config\\ConfigInterface');
$errorManager = $container->make('Kraken\\Supervision\\SupervisorInterface', [null, $config->get('supervision.base.params')]);
$errorSupervisor = $container->make('Kraken\\Supervision\\SupervisorInterface', [null, $config->get('supervision.remote.params')]);
$container->instance('Kraken\\Runtime\\Supervision\\SupervisorBaseInterface', $errorManager);
$container->instance('Kraken\\Runtime\\Supervision\\SupervisorRemoteInterface', $errorSupervisor);
}