public function getController(): ControllerInterface
    {
        $controllers = $this->getControllers();
        if ($controller = reset($controllers)) {
            return $controller;
        }

        throw new NotFoundException("Unable to find any controllers on the current network");
    }