public function IpBanMiddleware::handle in IP Ban 8
File
- src/
IpBanMiddleware.php, line 46
Class
- IpBanMiddleware
- Provides a HTTP middleware to implement IP based banning.
Namespace
Drupal\ip_banCode
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
$this->iPBanManager
->iPBanSetValue();
$this->iPBanManager
->iPBanDetermineAction();
return $this->httpKernel
->handle($request, $type, $catch);
}