Table of Contents
-
MAX_LENGTH
= 200
-
NUM_LINES
= 7
-
$config
: Configuration
-
$frames
: array<string|int, mixed>
-
__construct()
: mixed
-
addFrame()
: mixed
-
frameInsideSnag()
: bool
-
fromBacktrace()
: static
-
fromFrame()
: static
-
generate()
: static
-
getFrames()
: array<string|int, mixed>
-
removeFrame()
: mixed
-
toArray()
: array<string|int, mixed>
-
getBounds()
: array<string|int, mixed>
-
getCode()
: array<string|int, mixed>|null
MAX_LENGTH
public
mixed
MAX_LENGTH
= 200
NUM_LINES
public
mixed
NUM_LINES
= 7
$config
private
Configuration
$config
$frames
private
array<string|int, mixed>
$frames
= []
__construct()
public
__construct(Configuration $config) : mixed
Parameters
-
$config
: Configuration
-
Return values
mixed
—
addFrame()
public
addFrame(mixed $file, mixed $line, mixed $method[, mixed $class = null ]) : mixed
Parameters
-
$file
: mixed
-
-
$line
: mixed
-
-
$method
: mixed
-
-
$class
: mixed
= null
-
Return values
mixed
—
frameInsideSnag()
public
static frameInsideSnag(array<string|int, mixed> $frame) : bool
Parameters
-
$frame
: array<string|int, mixed>
-
Return values
bool
—
fromBacktrace()
public
static fromBacktrace(Configuration $config, array<string|int, mixed> $backtrace, mixed $topFile, mixed $topLine) : static
Parameters
-
$config
: Configuration
-
-
$backtrace
: array<string|int, mixed>
-
-
$topFile
: mixed
-
-
$topLine
: mixed
-
Return values
static
—
fromFrame()
public
static fromFrame(Configuration $config, mixed $file, mixed $line) : static
Parameters
-
$config
: Configuration
-
-
$file
: mixed
-
-
$line
: mixed
-
Return values
static
—
generate()
public
static generate(Configuration $config) : static
Parameters
-
$config
: Configuration
-
Return values
static
—
getFrames()
public
& getFrames() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
removeFrame()
public
removeFrame(mixed $index) : mixed
Parameters
-
$index
: mixed
-
Return values
mixed
—
toArray()
public
& toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getBounds()
protected
static getBounds(mixed $line, mixed $num, mixed $max) : array<string|int, mixed>
Parameters
-
$line
: mixed
-
-
$num
: mixed
-
-
$max
: mixed
-
Return values
array<string|int, mixed>
—
getCode()
protected
getCode(mixed $path, mixed $line, mixed $numLines) : array<string|int, mixed>|null
Parameters
-
$path
: mixed
-
-
$line
: mixed
-
-
$numLines
: mixed
-
Return values
array<string|int, mixed>|null
—