Documentation

Hydration

Interfaces, Classes and Traits

Hydratable
Adding this interface to a class will allow it to be automatically bound to properties in the class.
AssignmentException
Thrown when a property is unable to perform an assignment.
Encoder
Apply Property definitions to an object to generate a simplified stdClass object suitable for encoding into JSON/YAML/etc.
EncoderRule
Define a rule for encoding/dehydrating a property.
HydrationException
A non-recoverable hydration/encoding error.
Hydrator
Copy information from an object created from a JSON/YAML/etc. configuration file into a new object of the host class, performing validation and transformation operations while doing so.
Property
Define hydration/dehydration rules for a property.

Search results