|
| | __construct ($typeName, $flags, $allowsCovariance, $allowsContravariance) |
| |
Definition at line 5 of file Type.php.
◆ __construct()
| DaveRandom\CallbackValidator\Type::__construct |
( |
| $typeName, |
|
|
| $flags, |
|
|
| $allowsCovariance, |
|
|
| $allowsContravariance ) |
|
protected |
- Parameters
-
| string | null | $typeName | |
| int | $flags | |
| bool | $allowsCovariance | |
| bool | $allowsContravariance | |
Definition at line 70 of file Type.php.
◆ isSatisfiedBy()
| DaveRandom\CallbackValidator\Type::isSatisfiedBy |
( |
| $typeName, |
|
|
| $nullable, |
|
|
| $byReference ) |
◆ $allowsContravariance
| DaveRandom\CallbackValidator\Type::$allowsContravariance |
◆ $allowsCovariance
| DaveRandom\CallbackValidator\Type::$allowsCovariance |
◆ $isByReference
| DaveRandom\CallbackValidator\Type::$isByReference |
◆ $isNullable
| DaveRandom\CallbackValidator\Type::$isNullable |
◆ $isWeak
| DaveRandom\CallbackValidator\Type::$isWeak |
◆ $typeName
| DaveRandom\CallbackValidator\Type::$typeName |
◆ NULLABLE
| const DaveRandom\CallbackValidator\Type::NULLABLE = 0x02 |
◆ REFERENCE
| const DaveRandom\CallbackValidator\Type::REFERENCE = 0x04 |
◆ WEAK
| const DaveRandom\CallbackValidator\Type::WEAK = 0x01 |
Weak mode validates types using the same rules are strict_types=0
Definition at line 10 of file Type.php.
The documentation for this class was generated from the following file: