folder::delete

Deletes the directory

folder::delete($keep = false)

Parameters

$keep (boolean)
Set this to true to keep the directory but delete all its content

Return values

boolean