Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Phalcon
Db
Adapter
MongoDB
Exception
InvalidArgumentException
PHP Class Phalcon\Db\Adapter\MongoDB\Exception\InvalidArgumentException
Inheritance:
extends
MongoDB\Driver\Exception\InvalidArgumentException
,
implements
Exception
Mostrar archivo
Open project: phalcon/incubator
Class Usage Examples
Public Methods
Method
Description
invalidType
(
string
$name
,
mixed
$value
,
string
$expectedType
) :
self
Thrown when an argument or option has an invalid type.
Method Details
invalidType()
public
static
method
Thrown when an argument or option has an invalid type.
public
static
invalidType
(
string
$name
,
mixed
$value
,
string
$expectedType
) :
self
$name
string
Name of the argument or option
$value
mixed
Actual value (used to derive the type)
$expectedType
string
Expected type
return
self