Zend\Stratigility\Next::getResponsePrototype PHP Method

getResponsePrototype() private method

private getResponsePrototype ( ) : Psr\Http\Message\ResponseInterface
return Psr\Http\Message\ResponseInterface
    private function getResponsePrototype()
    {
        if ($this->responsePrototype) {
            return $this->responsePrototype;
        }
        throw new Exception\MissingResponsePrototypeException('Invoking callable middleware or final handler following http-interop ' . 'middleware, but no response prototype is present; please inject ' . 'one in your MiddlewarePipe or ensure Stratigility callable ' . 'middleware exists in the outer layer of your application.');
    }