Files
apimacro/app/Console/Commands/Test.php
2024-08-13 13:44:16 +00:00

47 lines
905 B
PHP
Executable File

<?php
namespace App\Console\Commands;
use App\Order as AppOrder;
use Codexshaper\WooCommerce\Facades\Order;
use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
class Test extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'test:update';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Test';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
Log::channel('updateproducts')->notice('Prova test scrittura'."\n");
}
}