ObjectHydrator
class ObjectHydrator
Class ObjectHydrator.
Utility class for handling updating private or protected properties of an object.
Methods
                    object
                
                
                    hydrate(string|object $target, array $data)
        
                                            
                
            If given a class name as target, the hydrator will create an instance of that class, but skipping the constructor. The hydrator will then update the internal properties, according to the keys defined in the $data parameter.
Details
        at         line 36
                            object
    hydrate(string|object $target, array $data)
        
    
    If given a class name as target, the hydrator will create an instance of that class, but skipping the constructor. The hydrator will then update the internal properties, according to the keys defined in the $data parameter.