update: code

This commit is contained in:
tokumeikoi 2021-07-02 23:35:10 +09:00
parent 5b8591fde9
commit 6f90c6b878

View File

@ -38,10 +38,5 @@ class Test extends Command
*/ */
public function handle() public function handle()
{ {
foreach (glob(app_path('Http//Controllers//Client//Protocols') . '/*.php') as $file) {
$file = 'App\\Http\\Controllers\\Client\\Protocols' . basename($file, '.php');
new $file();
var_dump($file);
}
} }
} }