phpDocumentor

AbstractValidatableObject
in package
implements ExceptionStacker

Interfaces, Classes and Traits

ExceptionStacker

Table of Contents

$exception  : Exception|null
$exceptionList  : mixed
exception()  : Exception|null
exceptions()  : array<string|int, Exception>
hasException()  : bool
stackException()  : void
flattenExceptionBacktrace()  : void

Properties

Methods

exceptions()

public exceptions([null $exceptionClass = null ]) : array<string|int, Exception>
Parameters
$exceptionClass : null = null
Return values
array<string|int, Exception>

hasException()

public hasException(string $exceptionName) : bool
Parameters
$exceptionName : string
Return values
bool

stackException()

public stackException(Exception $exception) : void
Parameters
$exception : Exception
Return values
void

flattenExceptionBacktrace()

protected flattenExceptionBacktrace(Exception $exception) : void
Parameters
$exception : Exception
Return values
void

Search results