v.1.7 update

This commit is contained in:
miroman-afk
2021-11-01 14:35:53 +03:00
parent 3b61b27200
commit 87cf29a443
26 changed files with 1342 additions and 42 deletions

20
commands/HelloWorld.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
namespace App\Commands;
use App\Component\Models\User;
use App\Console\Commands\HRCCommand;
use App\Console\Commands\HRCCommandInterface;
class HelloWorld extends HRCCommand implements HRCCommandInterface {
protected $signature = 'gethello';
public function command($input, $output = null) {
$users = User::all();
return [
'status' => 'success',
'users' => $users,
];
}
}