Created
April 22, 2024 05:48
-
-
Save zoparga/434d99993e0148774862da804518a2fb to your computer and use it in GitHub Desktop.
DeleteFolderContent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Illuminate\Filesystem\Filesystem; | |
// 2 LINES OF MAGIC | |
$file = new Filesystem; | |
$file->cleanDirectory('storage/temp/'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment