You are here

public function HttpblResponseInterface::buildHttpblResponse in http:BL 8

Build a new HttpblResponse based on evaluation status.

Parameters

string $ip: The IP address to evaluate.

object|\Symfony\Component\HttpFoundation\Request $request: The incoming http request.

object|\Symfony\Component\HttpKernel\HttpKernel $defaultResponse: The default http response.

array $evaluated: Contains a boolean of whether the evaluation has happened, and the resulting evaluated status.

Return value

object $httpblResponse A rebuilt response.

1 method overrides HttpblResponseInterface::buildHttpblResponse()
HttpblResponse::buildHttpblResponse in src/HttpblResponse.php
Build a new HttpblResponse based on evaluation status.

File

src/HttpblResponseInterface.php, line 33

Class

HttpblResponseInterface
Provides an interface defining the HttpblResponse manager.

Namespace

Drupal\httpbl

Code

public function buildHttpblResponse($ip, SymfonyRequest $request, $defaultResponse, $evaluated = NULL);