You are here

public function ConfigDataCollector::setKernel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/DataCollector/ConfigDataCollector.php \Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector::setKernel()

Sets the Kernel associated with this Request.

Parameters

KernelInterface $kernel A KernelInterface instance:

File

vendor/symfony/http-kernel/DataCollector/ConfigDataCollector.php, line 51

Class

ConfigDataCollector
ConfigDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function setKernel(KernelInterface $kernel = null) {
  $this->kernel = $kernel;
}