class InvalidArgumentException extends InvalidArgumentException implements ExceptionInterface

Class InvalidArgumentException.

Traits

Class ExceptionTrait.

Methods

__construct( null|string $message = null, mixed $parameters)

No description

static  ExceptionTrait
create( null|string $message = null, mixed $parameters)

No description

string
__toString()

No description

mixed[]
__debugInfo()

No description

string
getMessage()

No description

int
getCode()

No description

string
getFile()

No description

int
getLine()

No description

getPrevious()

No description

mixed[]
getTrace()

No description

string
getDefaultMessage()

No description

int
getDefaultCode()

No description

$this
with( mixed $parameters)

No description

$this
setMessage( string $message, mixed $replacements)

No description

$this
setCode( int $code)

No description

$this
setFile( string|SplFileInfo $file)

No description

$this
setLine( int $line)

No description

$this
setPrevious( null|Exception|Throwable|Error $throwable)

No description

$this
setAttributes( array $attributes = array())

No description

mixed[]
getAttributes()

No description

$this
addAttribute( mixed $attribute, null|string $key = null)

No description

null|mixed
getAttribute( string $key)

No description

bool
hasAttribute( string $key)

No description

mixed[]
getTraceLimited()

No description

string
getType( bool $qualified = false)

No description

Details

in ExceptionTrait at line line 36
final __construct( null|string $message = null, mixed $parameters)

Parameters

null|string $message
mixed $parameters

in ExceptionTrait at line line 56
final static ExceptionTrait create( null|string $message = null, mixed $parameters)

Parameters

null|string $message
mixed $parameters

Return Value

ExceptionTrait

in ExceptionTrait at line line 64
final string __toString()

Return Value

string

in ExceptionTrait at line line 80
final mixed[] __debugInfo()

Return Value

mixed[]

in ExceptionTrait at line line 96
abstract string getMessage()

Return Value

string

in ExceptionTrait at line line 101
abstract int getCode()

Return Value

int

in ExceptionTrait at line line 106
abstract string getFile()

Return Value

string

in ExceptionTrait at line line 111
abstract int getLine()

Return Value

int

in ExceptionTrait at line line 116
abstract null|Throwable|Exception|Error getPrevious()

Return Value

null|Throwable|Exception|Error

in ExceptionTrait at line line 121
abstract mixed[] getTrace()

Return Value

mixed[]

at line line 25
string getDefaultMessage()

Return Value

string

at line line 33
int getDefaultCode()

Return Value

int

in ExceptionTrait at line line 144
final $this with( mixed $parameters)

Parameters

mixed $parameters

Return Value

$this

in ExceptionTrait at line line 166
final $this setMessage( string $message, mixed $replacements)

Parameters

string $message
mixed $replacements

Return Value

$this

in ExceptionTrait at line line 178
final $this setCode( int $code)

Parameters

int $code

Return Value

$this

in ExceptionTrait at line line 190
final $this setFile( string|SplFileInfo $file)

Parameters

string|SplFileInfo $file

Return Value

$this

in ExceptionTrait at line line 202
final $this setLine( int $line)

Parameters

int $line

Return Value

$this

in ExceptionTrait at line line 214
final $this setPrevious( null|Exception|Throwable|Error $throwable)

Parameters

null|Exception|Throwable|Error $throwable

Return Value

$this

in ExceptionTrait at line line 226
final $this setAttributes( array $attributes = array())

Parameters

array $attributes

Return Value

$this

in ExceptionTrait at line line 236
final mixed[] getAttributes()

Return Value

mixed[]

in ExceptionTrait at line line 247
final $this addAttribute( mixed $attribute, null|string $key = null)

Parameters

mixed $attribute
null|string $key

Return Value

$this

in ExceptionTrait at line line 263
final null|mixed getAttribute( string $key)

Parameters

string $key

Return Value

null|mixed

in ExceptionTrait at line line 277
final bool hasAttribute( string $key)

Parameters

string $key

Return Value

bool

in ExceptionTrait at line line 285
final mixed[] getTraceLimited()

Return Value

mixed[]

in ExceptionTrait at line line 303
final string getType( bool $qualified = false)

Parameters

bool $qualified

Return Value

string