phpDocumentor

ExceptionStacker
in

Table of Contents

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

Methods

exception()

public exception() : Exception|null
Return values
Exception|null

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

Search results