You are here

protected function Check::kernel in Security Review 8

Returns the Drupal Kernel.

Return value

\Drupal\Core\DrupalKernel Drupal Kernel.

File

src/Check.php, line 508

Class

Check
Defines a security check.

Namespace

Drupal\security_review

Code

protected function kernel() {
  return $this->container
    ->get('kernel');
}