/home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src/IncomingDumpEntry.php (1547B)
first(function ($entry) {
return in_array($entry->type, [EntryType::REQUEST, EntryType::JOB, EntryType::COMMAND]);
});
if (! $entryPoint) {
return;
}
$this->content = array_merge($this->content, [
'entry_point_type' => $entryPoint->type,
'entry_point_uuid' => $entryPoint->uuid,
'entry_point_description' => $this->entryPointDescription($entryPoint),
]);
}
/**
* Description for the entry point.
*
* @param \Laravel\Telescope\IncomingDumpEntry $entryPoint
* @return string
*/
private function entryPointDescription($entryPoint)
{
switch ($entryPoint->type) {
case EntryType::REQUEST:
return $entryPoint->content['method'].' '.$entryPoint->content['uri'];
case EntryType::JOB:
return $entryPoint->content['name'];
case EntryType::COMMAND:
return $entryPoint->content['command'];
}
return '';
}
}