src/Commands/MigrateDisorganise.php
public function deleteDirs()
    {
        $dirs = $this->files->directories($this->basePath);

        foreach ($dirs as $dir) {
            $this->files->deleteDirectory($dir);
        }

        $this->info('Subdirectories deleted');
    }
public function deleteDirs()
    {
        $dirs = $this->files->directories($this->basePath);

        foreach ($dirs as $dir) {
            $this->files->deleteDirectory($dir);
        }

        $this->info('Subdirectories deleted');
    }
public function deleteDirs ( ) { $ dirs = $ this -> files -> directories ( $ this -> basePath ) ; foreach ( $ dirs as $ dir ) { $ this -> files -> deleteDirectory ( $ dir ) ; } $ this -> info ( 'Subdirectories deleted' ) ; }
Delete subdirectories in the migrations folder.

@return void
Delete subdirectories in the migrations folder .