X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/vendor/illuminate/console/Scheduling
home
/
gfecatvj
/
sites
/
vendor
/
illuminate
/
console
/
Scheduling
/
📁
..
📄
CacheAware.php
(238 B)
📄
CacheEventMutex.php
(1.75 KB)
📄
CacheSchedulingMutex.php
(1.68 KB)
📄
CallbackEvent.php
(3.9 KB)
📄
CommandBuilder.php
(2.18 KB)
📄
Event.php
(21.16 KB)
📄
EventMutex.php
(685 B)
📄
ManagesFrequencies.php
(10.92 KB)
📄
Schedule.php
(8.46 KB)
📄
ScheduleFinishCommand.php
(1004 B)
📄
ScheduleRunCommand.php
(3.87 KB)
📄
SchedulingMutex.php
(658 B)
Editing: ScheduleFinishCommand.php
<?php namespace Illuminate\Console\Scheduling; use Illuminate\Console\Command; class ScheduleFinishCommand extends Command { /** * The console command name. * * @var string */ protected $signature = 'schedule:finish {id} {code=0}'; /** * The console command description. * * @var string */ protected $description = 'Handle the completion of a scheduled command'; /** * Indicates whether the command should be shown in the Artisan command list. * * @var bool */ protected $hidden = true; /** * Execute the console command. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ public function handle(Schedule $schedule) { collect($schedule->events())->filter(function ($value) { return $value->mutexName() == $this->argument('id'); })->each->callAfterCallbacksWithExitCode($this->laravel, $this->argument('code')); } }
Upload File
Create Folder