/** * @return \Swagger\Context */ public function getRootContext() { if ($this->_parent) { return $this->_parent->getRootContext(); } return $this; }