removeDirectory() public static method
Removes a directory (and all its content) recursively.
| public static void removeDirectory ( $dir, $options = [] ) | ||
|---|---|---|
| $dir | string |
The directory to be deleted recursively. |
| $options | array |
Options for directory remove. Valid options are:
|
| throws | yii\base\ErrorException |
in case of failure |
Please login to continue.