protected function getParentClass($classname) { if (is_a($this, $classname)) { return $this; } return $this->parent->getParentClass($classname); }
protected function getParentClass($classname) { if (is_a($this, $classname)) { return $this; } return $this->parent->getParentClass($classname); }