Méthode | Description | |
---|---|---|
assemble ( array | object $document, |
Builds an object from the provided data. |
Méthode | Description | |
---|---|---|
assembleDocumentsRecursively ( mixed $value, string $schemaClass ) : mixed | Assembly multiple documents for the given $schemaClass recursively. | |
morphingTime ( mixed $entity ) : mixed | Returns the return of polymorph method of the given entity if available. | |
prepareOriginalAttributes ( mixed $entity ) : mixed | Stores original attributes from Entity if needed. |
protected morphingTime ( mixed $entity ) : mixed | ||
$entity | mixed | The entity that may or may not have a polymorph method. |
Résultat | mixed | The result of $entity->polymorph or the $entity itself. |
protected prepareOriginalAttributes ( mixed $entity ) : mixed | ||
$entity | mixed | The entity that may have the attributes stored. |
Résultat | mixed | The entity with original attributes. |