Zend\Stratigility\Middleware\NotFoundHandler::__construct PHP Method

__construct() public method

public __construct ( Psr\Http\Message\ResponseInterface $responsePrototype )
$responsePrototype Psr\Http\Message\ResponseInterface Empty/prototype response to update and return when returning an 404 response.
    public function __construct(ResponseInterface $responsePrototype)
    {
        $this->responsePrototype = $responsePrototype;
    }