respect-validation/docs/rules/ObjectType.md

40 lines
734 B
Markdown
Raw Normal View History

2015-10-07 17:31:32 +02:00
# ObjectType
2015-01-30 09:40:06 +01:00
- `ObjectType()`
2015-01-30 09:40:06 +01:00
Validates whether the input is an [object](http://php.net/types.object).
2015-01-30 09:40:06 +01:00
```php
v::objectType()->validate(new stdClass); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- Objects
- Types
## Changelog
Version | Description
--------|-------------
1.0.0 | Renamed from `Object` to `ObjectType`
0.3.9 | Created as `Object`
***
2015-01-30 09:40:06 +01:00
See also:
2018-12-11 13:31:50 +01:00
- [ArrayType](ArrayType.md)
- [Attribute](Attribute.md)
- [BoolType](BoolType.md)
2018-12-11 13:31:50 +01:00
- [BoolVal](BoolVal.md)
- [CallableType](CallableType.md)
- [FloatType](FloatType.md)
- [Instance](Instance.md)
- [IntType](IntType.md)
- [NullType](NullType.md)
2018-12-11 13:31:50 +01:00
- [Number](Number.md)
- [ResourceType](ResourceType.md)
- [StringType](StringType.md)
2018-12-11 13:31:50 +01:00
- [StringVal](StringVal.md)
- [Type](Type.md)