added events

This commit is contained in:
amikhaylov
2026-06-13 21:26:05 +03:00
parent 222e8984fc
commit d5f947d59e
5 changed files with 157 additions and 13 deletions
+44
View File
@@ -0,0 +1,44 @@
<?php
namespace App\Console\Commands;
use App\Library\VK\Service\VkPostImportService;
use Illuminate\Console\Command;
class VkCheckStatus extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'app:vk-check-status';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
public function __construct(
protected VkPostImportService $import_service
) {
parent::__construct();
}
/**
* Execute the console command.
*/
public function handle()
{
$this->import_service->run();
//
// unset($result['response'][0]['attachments']);
// unset($result['response'][0]['copy_history'][0]['attachments']);
// print_r($result);
}
}