/** * {@inheritdoc} */ public function getChildren($ifCollapsed = false) { return $this->wrapped->getChildren($ifCollapsed); }
/** * Expands a var and all of its children * @param \Bugzorcist\VarDump\Ncurses\VarDump\NcursesVarDumpTypeAbstract $var var to expand */ protected function expandAll(NcursesVarDumpTypeAbstract $var) { $var->expand(); $children = $var->getChildren(); foreach ($children as $child) { $this->expandAll($child); } }