public function initializeContext(Context $context) { $this->context = $context; $this->setAppOnContext($this->kernel); }