Méthode | Description | |
---|---|---|
__construct ( Blast\Orm\Entity\ProviderInterface $provider ) | ||
extract ( ) : array | Extract values from given object | |
hydrate ( array $data = [], string $option = self::HYDRATE_AUTO ) : mixed | ||
isCollectable ( $data ) : mixed |
Méthode | Description | |
---|---|---|
addRelationsToData ( $data, $entity ) : mixed | Add relations to data | |
camelizeKeys ( $data ) : array | Convert keys to camel case | |
determineOption ( $data, $option ) : string | ||
getArraySerizableHydrator ( ) : Zend\Hydrator\ArraySerializable | ||
getClassMethodsHydrator ( ) : Zend\Hydrator\ClassMethods | ||
getObjectPropertyHydrator ( ) : Zend\Hydrator\ObjectProperty | ||
hydrateCollection ( $data ) : object | SplStack | ||
hydrateEntity ( $data ) : array | ArrayObject | object | stdClass | Hydrates data to an entity | |
underscorizeKeys ( $data ) : array | Convert keys to underscore |
public __construct ( Blast\Orm\Entity\ProviderInterface $provider ) | ||
$provider | Blast\Orm\Entity\ProviderInterface |
protected addRelationsToData ( $data, $entity ) : mixed | ||
$data | ||
$entity | ||
Résultat | mixed |
protected camelizeKeys ( $data ) : array | ||
$data | ||
Résultat | array |
protected determineOption ( $data, $option ) : string | ||
$data | ||
$option | ||
Résultat | string |
protected getArraySerizableHydrator ( ) : Zend\Hydrator\ArraySerializable | ||
Résultat | Zend\Hydrator\ArraySerializable |
protected getClassMethodsHydrator ( ) : Zend\Hydrator\ClassMethods | ||
Résultat | Zend\Hydrator\ClassMethods |
protected getObjectPropertyHydrator ( ) : Zend\Hydrator\ObjectProperty | ||
Résultat | Zend\Hydrator\ObjectProperty |
protected hydrateCollection ( $data ) : object | SplStack | ||
$data | ||
Résultat | object | SplStack |
protected hydrateEntity ( $data ) : array | ArrayObject | object | stdClass | ||
$data | ||
Résultat | array | ArrayObject | object | stdClass |
protected underscorizeKeys ( $data ) : array | ||
$data | ||
Résultat | array |