Hydrator
Corex\Repositories\Hydrator · class · Core layer
Builds a Model from a post object plus its declared fields (read through the field driver). Shared by the Repository and the QueryExecutor so hydration is defined once.
Corex\Repositories\Hydrator · class · Core layer
Builds a Model from a post object plus its declared fields (read through the field driver). Shared by the Repository and the QueryExecutor so hydration is defined once.
__construct(FieldDriver $fields)fromPost(string $modelClass, object $post): Model