public function rmdir($paths) { foreach ($paths as $path) { if (false == rmdir($path)) { throw new Exception(php::message(sprintf('Kan map (%s) niet verwijderen !', $path), 'error')); } } return true; }