Class DefaultEntityFactory
Default IEntityFactory implementation
-
LeanMapper\DefaultEntityFactory
implements
LeanMapper\IEntityFactory
Methods summary
public
LeanMapper\Entity
|
#
createEntity( string $entityClass, LeanMapper\Row |Traversable|array|null $arg = null )
Creates entity instance from given entity class name and argument
Creates entity instance from given entity class name and argument
Parameters
Returns
Implementation of
|
public
mixed
|
#
createCollection( array $entities )
Allows wrap set of entities in custom collection
Allows wrap set of entities in custom collection
Parameters
Returns
mixed
Implementation of
|