protected function getComponentContext() { if ($this->componentContext === null) { $this->componentContext = new ComponentContext(Http\Request::createFromEnvironment(), new Http\Response()); } return $this->componentContext; }