/** * {@inheritdoc} */ public function getRoot() { if (isset($this->root)) { return $this->root->getRoot(); } return $this; }
/** * {@inheritdoc} */ public function getRoot() { if (isset($this->root)) { // @todo: This seems to be the parent, not root. return $this->root->getRoot(); } return $this; }