Overview

Namespaces

  • LeanMapper
    • Bridges
      • Nette
        • DI
    • Exception
    • Reflection
    • Relationship

Classes

  • Caller
  • Connection
  • DataDifference
  • DefaultEntityFactory
  • DefaultMapper
  • Entity
  • EntityDataDecoder
  • Events
  • Filtering
  • FilteringResult
  • FilteringResultDecorator
  • Fluent
  • ImplicitFilters
  • Repository
  • Result
  • ResultProxy
  • Row

Interfaces

  • IEntityFactory
  • IMapper
  • Overview
  • Namespace
  • Class

Interface IEntityFactory

Entity factory

Direct known implementers

LeanMapper\DefaultEntityFactory
Namespace: LeanMapper
Author: Vojtěch Kohout
Located at LeanMapper/IEntityFactory.php
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

$entityClass
$arg

Returns

LeanMapper\Entity
public mixed
# createCollection( array $entities )

Allows wrap set of entities in custom collection

Allows wrap set of entities in custom collection

Parameters

$entities

Returns

mixed
tharos/leanmapper v3.3.0 API documentation API documentation generated by ApiGen