# ThrowableHandlerInterface

Chevere\Interfaces\ThrowableHandler\ThrowableHandlerInterface

view source

# Description

Describes the component in charge of handling throwables.

# Methods

# __construct()

# Parameters

  1. ThrowableReadInterface $throwableRead

# withIsDebug()

Return an instance with the specified $debug flag.

# Parameters

  1. bool $isDebug

RETURN

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $debug flag.


# isDebug()

Indicates whether the instance has debug=true.

RETURN

bool


# dateTimeUtc()

Provides access to the date time UTC.


# throwableRead()

Provides access to the $throwableRead instance.


# id()

Provides access to the handler unique id.

RETURN

string


Last Updated: 1/16/2021, 9:23:54 PM