$fs
$fs :
symfony/filesystem object
FileSystem of Lobby Retreive, modify & write files inside Lobby It only works for paths inside Lobby
remove(string $path, array $exclude = array(), boolean $removeParent = true)
Recursively remove a directory or remove a file
string | $path | Path to delete |
array | $exclude | Files (relative paths) to exclude from deletion |
boolean | $removeParent | Whether the main directory along with it's contents should be removed |