public function parent() { if (!$this->parent) { $this->parent = call_user_func([static::$parentClass, 'build'], $this->parentCode, $this->manager); } return $this->parent; }