Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
eZ
Publish
Core
Base
Exceptions
InvalidArgumentValue
PHP Class eZ\Publish\Core\Base\Exceptions\InvalidArgumentValue
Usage: throw new InvalidArgument( 'nodes', 'array' );
Inheritance:
extends
InvalidArgumentException
显示文件
Open project: ezsystems/ezpublish-kernel
Class Usage Examples
Public Methods
Method
Description
__construct
(
string
$argumentName
,
mixed
$value
,
string
|
null
$className
= null,
Exception
$previous
= null )
Generates: "Argument '{$argumentName}' is invalid: '{$value}' is wrong value[ in class '{$className}']".
Method Details
__construct()
public
method
Generates: "Argument '{$argumentName}' is invalid: '{$value}' is wrong value[ in class '{$className}']".
public
__construct
(
string
$argumentName
,
mixed
$value
,
string
|
null
$className
= null,
Exception
$previous
= null )
$argumentName
string
$value
mixed
$className
string
|
null
Optionally to specify class in abstract/parent classes
$previous
Exception