Property | Type | Description | |
---|---|---|---|
$type | string | ||
$types | array |
Method | Description | |
---|---|---|
__construct ( string $type ) | ||
evaluate ( mixed $other ) : boolean | Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise. | |
toString ( ) : string | Returns a string representation of the constraint. |