/** * Return true if path is dir and has at least one childs directory * * @param string $path * dir path * @return bool * */ protected function _subdirs($path) { if ($this->fs->hasDir()) { $ret = $this->fs->hasDir($path); } else { $ret = parent::_subdirs($path); } return $ret; }