Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.65 KB

File metadata and controls

63 lines (48 loc) · 1.65 KB

ObjectType

  • ObjectType()

Validates whether the input is an object.

v::objectType()->assert(new stdClass);
// Validation passes successfully

Templates

ObjectType::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be an object
inverted {{subject}} must not be an object

Template placeholders

Placeholder Description
subject The validated input or the custom validator name (if specified).

Categorization

  • Objects
  • Types

Changelog

Version Description
1.0.0 Renamed from Object to ObjectType
0.3.9 Created as Object

See Also