Kraken\Runtime\Supervision\Runtime\RuntimeDestroyHard::solver PHP Method

solver() protected method

protected solver ( Erro\Error | Exceptio\Exception $ex, mixed[] $params = [] ) : mixed
$ex Erro\Error | Exceptio\Exception
$params mixed[]
return mixed
    protected function solver($ex, $params = [])
    {
        $hash = isset($params['hash']) ? $params['hash'] : '';
        $manager = $this->runtime->getManager();
        return $manager->destroyRuntime($params['origin'], Runtime::DESTROY_FORCE_HARD, ['hash' => $hash]);
    }
RuntimeDestroyHard