ResolvesDumpSource
trait ResolvesDumpSource (View source)
Properties
| protected array<string, string> | $editorHrefs | All of the href formats for common editors. |
|
| static protected array<string, int> | $adjustableTraces | Files that require special trace handling and their levels. |
|
| static protected callable(): array{0: string, 1: string, 2: int|null}|null|null|false | $dumpSourceResolver | The source resolver. |
Methods
Resolve the source of the dump call.
Determine if the given file is a view compiled.
Get the original view compiled file by the given compiled file.
Resolve the source href, if possible.
Set the resolver that resolves the source of the dump call.
Don't include the location / file of the dump in dumps.
Details
array{0: string, 1: string, 2: int|null}|null
resolveDumpSource()
Resolve the source of the dump call.
protected bool
isCompiledViewFile(string $file)
Determine if the given file is a view compiled.
protected string
getOriginalFileForCompiledView(string $file)
Get the original view compiled file by the given compiled file.
protected string|null
resolveSourceHref(string $file, int|null $line)
Resolve the source href, if possible.
static void
resolveDumpSourceUsing(callable(): array{0: string, 1: string, 2: int|null}|null|null $callable)
Set the resolver that resolves the source of the dump call.
static void
dontIncludeSource()
Don't include the location / file of the dump in dumps.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.