File: /var/www/vhost/disk-apps/qas.sports-crowd.com/app/Console/Commands/OrderPayments.php
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use App\Http\Controllers\OrderController;
class OrderPayments extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'sportscrowd:orderPayments';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Valida cierto numero de veces si un pago de un pedido fue aprobado';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$orderController = new OrderController();
$orderController->validatePayments();
}
}