class Warning extends Exception implements SelfDescribing (View source)

Thrown when there is a warning.

Properties

protected array $serializableTrace from Exception

Methods

__construct($message = '', $code, Exception $previous = null)

No description

from Exception
array
getSerializableTrace()

Returns the serializable trace (without 'args').

from Exception
string
__toString()

No description

from Exception
__sleep()

No description

from Exception
string
toString()

Wrapper for getMessage() which is declared as final.

Details

__construct($message = '', $code, Exception $previous = null)

Parameters

$message
$code
Exception $previous

array getSerializableTrace()

Returns the serializable trace (without 'args').

Return Value

array

string __toString()

Return Value

string

__sleep()

string toString()

Wrapper for getMessage() which is declared as final.

Return Value

string