/** * Notify that a child state has changed * @param \Bugzorcist\VarDump\Ncurses\VarDump\NcursesVarDumpTypeAbstract $child changed child */ public function notifyChildModification(NcursesVarDumpTypeAbstract $child) { $this->childrenHeightCache = null; $this->childrenWidthCache = null; // notify parents if ($this->parent) { $this->parent->notifyChildModification($this); } }
/** * {@inheritdoc} */ public function notifyChildModification(NcursesVarDumpTypeAbstract $child) { $this->clearCaches(); $this->wrapped->notifyChildModification($child); parent::notifyChildModification($child); }