PHP Class Phalcon\Db\Adapter\MongoDB\Exception\InvalidArgumentException

Inheritance: extends MongoDB\Driver\Exception\InvalidArgumentException, implements Exception
Datei anzeigen 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