# ThrowableTraceEntryInterface

Chevere\Interfaces\ThrowableHandler\ThrowableTraceEntryInterface

view source (opens new window)

# Description

Describes the component in charge of describing a throwable trace entry captured from debug_backtrace().

# Constants

# KEYS

Type array

array (
  0 => 'file',
  1 => 'line',
  2 => 'function',
  3 => 'class',
  4 => 'type',
)

# MUST_HAVE_KEYS

Type array

array (
  0 => 'function',
)

# Methods

# __construct

Parameters

  • entry: array

# file

Provides access to the filename.

Return

string


# line

Provides access to the line.

Return

int


# fileLine

Provides access to the file plus line.

Return

string

return 'path_to_file:1';

# function

Provides access to the function.

Return

string


# class

Provides access to the class (if any).

Return

string


# type

Provides access to the type, either :: or '->'.

Return

string


# args

Provides access the arguments array.

Return

array


Last Updated: 5/1/2021, 2:31:10 PM