Deletes a directory.
Parameters
$pathstringrequired- Path to directory.
$recursivebooloptional- Whether to recursively remove files/directories.
Default:
false
Source
public function rmdir( $path, $recursive = false ) {
return $this->delete( $path, $recursive );
}
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.