BanMiddlewareTest::$banManager

Same name in other branches
  1. 9 core/modules/ban/tests/src/Unit/BanMiddlewareTest.php \Drupal\Tests\ban\Unit\BanMiddlewareTest::banManager
  2. 8.9.x core/modules/ban/tests/src/Unit/BanMiddlewareTest.php \Drupal\Tests\ban\Unit\BanMiddlewareTest::banManager
  3. 11.x core/modules/ban/tests/src/Unit/BanMiddlewareTest.php \Drupal\Tests\ban\Unit\BanMiddlewareTest::banManager

The mocked ban IP manager.

Type: \Drupal\ban\BanIpManagerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/ban/tests/src/Unit/BanMiddlewareTest.php, line 31

Class

BanMiddlewareTest
@coversDefaultClass \Drupal\ban\BanMiddleware @group ban

Namespace

Drupal\Tests\ban\Unit

Code

protected $banManager;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.