Legend of the Green Dragon

EntityManager extends EntityManager
in package

Table of Contents

$repositoryHydrator  : mixed
create()  : mixed
{@inheritdoc}
extractEntity()  : array<string|int, mixed>
Extract values from an object with class methods.
hydrateEntity()  : object
Hydrate an object by populating getter/setter methods.
isConnected()  : bool
Check if has a connection with DataBase.
geLaminastHydrator()  : ClassMethodsHydrator
Get Hydrator instance.

Properties

Methods

create()

{@inheritdoc}

public static create(mixed $connection, Configuration $config[, EventManager|null $eventManager = null ]) : mixed
Parameters
$connection : mixed
$config : Configuration
$eventManager : EventManager|null = null
Return values
mixed

extractEntity()

Extract values from an object with class methods.

public extractEntity(object|array<string|int, mixed> $object) : array<string|int, mixed>
Parameters
$object : object|array<string|int, mixed>
Return values
array<string|int, mixed>

hydrateEntity()

Hydrate an object by populating getter/setter methods.

public hydrateEntity(array<string|int, mixed> $data, object $entity) : object
Parameters
$data : array<string|int, mixed>
$entity : object
Return values
object

isConnected()

Check if has a connection with DataBase.

public isConnected() : bool
Return values
bool

geLaminastHydrator()

Get Hydrator instance.

private geLaminastHydrator() : ClassMethodsHydrator
Return values
ClassMethodsHydrator

Search results