ManaPHP\Filesystem\Adapter\File::dirDelete PHP Method

dirDelete() public method

public dirDelete ( string $dir, boolean $recursive = false ) : void
$dir string
$recursive boolean
return void
    public function dirDelete($dir, $recursive = false)
    {
        $dir = $this->alias->resolve($dir);
        if (!is_dir($dir)) {
            return;
        }
        $this->_dirDelete($dir, $recursive);
    }