class PHPUnit_Util_Type in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Util/Type.php \PHPUnit_Util_Type
Utility class for textual type (and value) representation.
@since Class available since Release 3.0.0
Hierarchy
- class \PHPUnit_Util_Type
Expanded class hierarchy of PHPUnit_Util_Type
File
- vendor/
phpunit/ phpunit/ src/ Util/ Type.php, line 16
View source
class PHPUnit_Util_Type {
public static function isType($type) {
return in_array($type, array(
'numeric',
'integer',
'int',
'float',
'string',
'boolean',
'bool',
'null',
'array',
'object',
'resource',
'scalar',
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPUnit_Util_Type:: |
public static | function |