/home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src/ExceptionContext.php (1282B)
getFile(), "eval()'d code")) {
return [
$exception->getLine() => "eval()'d code",
];
}
}
/**
* Get the exception code context from a file.
*
* @param \Throwable $exception
* @return array
*/
protected static function getFileContext(Throwable $exception)
{
return collect(explode("\n", file_get_contents($exception->getFile())))
->slice($exception->getLine() - 10, 20)
->mapWithKeys(function ($value, $key) {
return [$key + 1 => $value];
})->all();
}
}