FinishResponseSubscriberTest::$kernel

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\FinishResponseSubscriberTest::kernel
  2. 10 core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\FinishResponseSubscriberTest::kernel

The mock Kernel.

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

File

core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php, line 35

Class

FinishResponseSubscriberTest
Tests Drupal\Core\EventSubscriber\FinishResponseSubscriber.

Namespace

Drupal\Tests\Core\EventSubscriber

Code

protected $kernel;

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