mirror of
https://github.com/Respect/Validation.git
synced 2024-06-04 06:42:22 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
40 lines
734 B
Markdown
40 lines
734 B
Markdown
# ObjectType
|
|
|
|
- `ObjectType()`
|
|
|
|
Validates whether the input is an [object](http://php.net/types.object).
|
|
|
|
```php
|
|
v::objectType()->validate(new stdClass); // true
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- Objects
|
|
- Types
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
1.0.0 | Renamed from `Object` to `ObjectType`
|
|
0.3.9 | Created as `Object`
|
|
|
|
***
|
|
See also:
|
|
|
|
- [ArrayType](ArrayType.md)
|
|
- [Attribute](Attribute.md)
|
|
- [BoolType](BoolType.md)
|
|
- [BoolVal](BoolVal.md)
|
|
- [CallableType](CallableType.md)
|
|
- [FloatType](FloatType.md)
|
|
- [Instance](Instance.md)
|
|
- [IntType](IntType.md)
|
|
- [NullType](NullType.md)
|
|
- [Number](Number.md)
|
|
- [ResourceType](ResourceType.md)
|
|
- [StringType](StringType.md)
|
|
- [StringVal](StringVal.md)
|
|
- [Type](Type.md)
|