src/Registry/HttpHandlerRegistry.php
public function get($name)
    {
        if (!isset($this->httpHandlers[$name])) {
            throw new \Exception("HttpHandler {$name} not found");
        }

        return $this->httpHandlers[$name];
    }
public function get($name)
    {
        if (!isset($this->httpHandlers[$name])) {
            throw new \Exception("HttpHandler {$name} not found");
        }

        return $this->httpHandlers[$name];
    }
Ger http handler by name.

@param string $name

@throws \Exception

@return HttpHandler