Sets the Kernel associated with this Request.
public function setKernel(KernelInterface $kernel) : void { $this->kernel = $kernel; }