/**
  * {@inheritdoc}
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof KernelAwareContext) {
         return;
     }
     $context->setKernel($this->kernel);
 }