add report for keypress

This commit is contained in:
2025-08-03 14:06:15 +03:30
parent 23587ae958
commit 3973d32a18
3 changed files with 54 additions and 6 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Console\Commands;
use App\Services\Commands\SendKeypressStatsService;
use Illuminate\Console\Command;
class SendKeypressStatsCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'report:send-keypress-stats';
/**
* The console command description.
*
* @var string
*/
protected $description = 'gather all keypress stats report and send them to the center';
/**
* Execute the console command.
*/
public function handle(SendKeypressStatsService $service)
{
$service->execute();
$this->info('Done!');
}
}