Viewing: CopyImages.php
<?php namespace App\Console\Commands; use Illuminate\Console\Command; use App\Http\Controllers\Frontend\CronController; class CopyImages extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'images:copy'; /** * The console command description. * * @var string */ protected $description = 'Command description'; /** * Execute the console command. * * @return int */ public function handle() { $controller = new CronController(); $controller->index(); return Command::SUCCESS; } }
Return