trait Illuminate / Foundation / Concerns / ResolvesDumpSource
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ResolvesDumpSource

Properties

protected

$editorHrefs array

All of the href formats for common editors.

Default: array
protected static

$adjustableTraces array

Files that require special trace handling and their levels.

Default: array
protected static

$dumpSourceResolver callable|null|false

The source resolver.

Default: null

Methods

public

resolveDumpSource ( ) : array{0: string, 1: string, 2: int|null}|null

Resolve the source of the dump call.

protected

isCompiledViewFile ( $file ) : bool

Determine if the given file is a view compiled.

Parameters

  • $file string
protected

getOriginalFileForCompiledView ( $file ) : string

Get the original view compiled file by the given compiled file.

Parameters

  • $file string
protected

resolveSourceHref ( $file , $line ) : string|null

Resolve the source href, if possible.

Parameters

  • $file string
  • $line int|null
public static

resolveDumpSourceUsing ( $callable ) : void

Set the resolver that resolves the source of the dump call.

Parameters

  • $callable callable|null
public static

dontIncludeSource ( ) : void

Don't include the location / file of the dump in dumps.