Logidav Docs

HannibalHydrator extends ArrayHydrator
in package

Hannibal Carthage hydrator

Table of Contents

Properties

$_identifierMap  : array<string|int, mixed>
$_idTemplate  : array<string|int, mixed>
$_isSimpleQuery  : bool
$_resultCounter  : int
$_resultPointers  : array<string|int, mixed>
$_rootAliases  : array<string|int, mixed>

Methods

hydrateAllData()  : array<string|int, mixed>
Hydrating data
hydrateEntity()  : mixed
hydrateRowData()  : mixed
{@inheritdoc}
prepare()  : mixed
{@inheritdoc}
updateResultPointer()  : void
Updates the result pointer for an Entity. The result pointers point to the last seen instance of each Entity type. This is used for graph construction.

Properties

$_identifierMap

protected array<string|int, mixed> $_identifierMap = array()

$_idTemplate

protected array<string|int, mixed> $_idTemplate = array()

$_resultPointers

protected array<string|int, mixed> $_resultPointers = array()

$_rootAliases

protected array<string|int, mixed> $_rootAliases = array()

Methods

hydrateAllData()

Hydrating data

protected hydrateAllData() : array<string|int, mixed>
Return values
array<string|int, mixed>

hydrateRowData()

{@inheritdoc}

protected hydrateRowData(array<string|int, mixed> $row, array<string|int, mixed> &$result) : mixed
Parameters
$row : array<string|int, mixed>
$result : array<string|int, mixed>

updateResultPointer()

Updates the result pointer for an Entity. The result pointers point to the last seen instance of each Entity type. This is used for graph construction.

private updateResultPointer(array<string|int, mixed> &$coll, bool|int $index, string $dqlAlias, bool $oneToOne) : void
Parameters
$coll : array<string|int, mixed>

The element.

$index : bool|int

Index of the element in the collection.

$dqlAlias : string
$oneToOne : bool

Whether it is a single-valued association or not.


        
On this page

Search results