Argument type assertion methods
Methods | ||
---|---|---|
protected
static
|
assertValue(string $expected_type, string $name, mixed $value, bool $is_nullable)
|
# |
protected
static
|
assertInt(mixed $value, string $name = null)
|
# |
protected
static
|
assertString(mixed $value, string $name = null)
|
# |
protected
static
|
assertArrayOrObject(mixed $value, string $name = null)
|
# |
protected
static
|
assertInstanceOf(mixed $value, string $class, string $name = null)
|
# |