Documentation

WorkerPoolExceptionResult
in package
implements ArrayAccess

The Worker Pool Exception Result class represents an excpetion returned from a child process

Table of Contents

Interfaces

ArrayAccess

Properties

$result  : array<string|int, mixed>

Methods

__construct()  : mixed
The constructor
__toString()  : string
Get the object as a human readable string
getClass()  : string
Get the class name of the exception
getMessage()  : string
Get the message of the exception
getTrace()  : string
Get the stack trace of the exception
offsetExists()  : bool
Does the offset exist?
offsetGet()  : string
Get the offset
offsetSet()  : void
Set the offset this will always throw an exception, because it is read only
offsetUnset()  : void
Unset the offset this will always throw an exception, because it is read only

Properties

Methods

__construct()

The constructor

public __construct(array<string|int, mixed> $result) : mixed
Parameters
$result : array<string|int, mixed>

__toString()

Get the object as a human readable string

public __toString() : string
Return values
string

the object as a human redable string

getClass()

Get the class name of the exception

public getClass() : string
Return values
string

the class name of the exception

getMessage()

Get the message of the exception

public getMessage() : string
Return values
string

the messsage of the exception

getTrace()

Get the stack trace of the exception

public getTrace() : string
Return values
string

the stack trace of the exception

offsetExists()

Does the offset exist?

public offsetExists(string $offset) : bool
Parameters
$offset : string

can be 'class', 'message', 'trace'

Return values
bool

true, if the offset estists

offsetGet()

Get the offset

public offsetGet(string $offset) : string
Parameters
$offset : string

can be 'class', 'message', 'trace'

Return values
string

the result

offsetSet()

Set the offset this will always throw an exception, because it is read only

public offsetSet(string $offset, string $value) : void
Parameters
$offset : string

can be 'class', 'message', 'trace'

$value : string

the value

Tags
throws
LogicException

always throws an exception becasue it is read only

offsetUnset()

Unset the offset this will always throw an exception, because it is read only

public offsetUnset(string $offset) : void
Parameters
$offset : string

can be 'class', 'message', 'trace'

Tags
throws
LogicException

always throws an exception becasue it is read only


        
On this page

Search results