Kraken\Root\Runtime\Provider\SupervisorProvider::bootBaseSupervision PHP Method

bootBaseSupervision() private method

private bootBaseSupervision ( Kraken\Supervision\SupervisorInterface $supervisor, Kraken\Config\ConfigInterface $config )
$supervisor Kraken\Supervision\SupervisorInterface
$config Kraken\Config\ConfigInterface
    private function bootBaseSupervision(SupervisorInterface $supervisor, ConfigInterface $config)
    {
        $handlers = (array) $config->get('supervision.base.handlers');
        $default = [$this->systemException('ChildUnresponsiveException') => ['RuntimeRecreate', 'ContainerContinue'], $this->systemException('ParentUnresponsiveException') => ['ContainerDestroy'], $this->systemError('FatalError') => ['CmdLog', 'ContainerDestroy'], 'Error' => ['CmdLog', 'CmdEscalate'], 'Exception' => ['CmdLog', 'CmdEscalate']];
        $plugins = (array) $config->get('supervision.base.plugins');
        $this->bootBaseOrRemote($supervisor, $default, $handlers, $plugins);
    }