BanMiddlewareTest::$kernel

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

The mocked wrapped kernel.

Type: \Symfony\Component\HttpKernel\HttpKernelInterface|\PHPUnit\Framework\MockObject\MockObject

File

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

Class

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

Namespace

Drupal\Tests\ban\Unit

Code

protected $kernel;

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