/home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src/Watchers
NameSizeModeActions
CacheWatcher.php33810644editdlrm
CommandWatcher.php14940644editdlrm
DumpWatcher.php16310644editdlrm
EventWatcher.php44460644editdlrm
ExceptionWatcher.php21960644editdlrm
FetchesStackTrace.php9510644editdlrm
FormatsClosure.php5750644editdlrm
GateWatcher.php20340644editdlrm
JobWatcher.php44240644editdlrm
LogWatcher.php16230644editdlrm
MailWatcher.php26000644editdlrm
ModelWatcher.php16960644editdlrm
NotificationWatcher.php23930644editdlrm
QueryWatcher.php30700644editdlrm
RedisWatcher.php22590644editdlrm
RequestWatcher.php64240644editdlrm
ScheduleWatcher.php21190644editdlrm
ViewWatcher.php49740644editdlrm
Watcher.php5760644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src/Watchers/CommandWatcher.php (1494B)
listen(CommandFinished::class, [$this, 'recordCommand']); } /** * Record an Artisan command was executed. * * @param \Illuminate\Console\Events\CommandFinished $event * @return void */ public function recordCommand(CommandFinished $event) { if (! Telescope::isRecording() || $this->shouldIgnore($event)) { return; } Telescope::recordCommand(IncomingEntry::make([ 'command' => $event->command ?? $event->input->getArguments()['command'] ?? 'default', 'exit_code' => $event->exitCode, 'arguments' => $event->input->getArguments(), 'options' => $event->input->getOptions(), ])); } /** * Determine if the event should be ignored. * * @param mixed $event * @return bool */ private function shouldIgnore($event) { return in_array($event->command, array_merge($this->options['ignore'] ?? [], [ 'schedule:run', 'schedule:finish', 'package:discover', ])); } }