public static function clear()
    {
        $path = root().'resources/controllers/*.php';

        $files = File::glob($path);
        //
        foreach ($files as $file) {
            File::delete($file);
        }
        //
        return true;
    }
public static function clear()
    {
        $path = root().'resources/controllers/*.php';

        $files = File::glob($path);
        //
        foreach ($files as $file) {
            File::delete($file);
        }
        //
        return true;
    }
public static function clear ( ) { $ path = root ( ) . 'resources/controllers/*.php' ; $ files = File :: glob ( $ path ) ; // foreach ( $ files as $ file ) { File :: delete ( $ file ) ; } // return true ; }
clear all controllers created.

@return bool
clear all controllers created .