%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/www/vebto/common/Billing/
Upload File :
Create Path :
Current File : /home/graphicd/www/vebto/common/Billing/SyncBillingPlansCommand.php

<?php namespace Common\Billing;

use App;
use Illuminate\Console\Command;
use Common\Billing\Plans\BillingPlansController;

class SyncBillingPlansCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'plans:sync';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Sync billing plans in database with enabled gateways.';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        App::make(BillingPlansController::class)->sync();

        $this->info('Synced plans successfully.');
    }
}

Zerion Mini Shell 1.0