yxorP Documentation

EntityMap
in package
implements ArrayAccess

Interfaces, Classes, Traits and Enums

ArrayAccess

Table of Contents

$isSupportedType  : Constraint
$lsidsBySession  : array<string|int, stdClass>
Track lsids so they can be accessed after Session::getLogicalSessionId() has been called.
$map  : array<string|int, mixed>
__destruct()  : mixed
closeCursor()  : void
Closes a cursor by removing it from the entity map.
getClient()  : Client
getCollection()  : Collection
getDatabase()  : Database
getLogicalSessionId()  : stdClass
getRootClientIdOf()  : mixed
getSession()  : Session
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
set()  : void
isSupportedType()  : Constraint

Properties

$isSupportedType

private static Constraint $isSupportedType

$lsidsBySession

Track lsids so they can be accessed after Session::getLogicalSessionId() has been called.

private array<string|int, stdClass> $lsidsBySession = []

$map

private array<string|int, mixed> $map = []

Methods

__destruct()

public __destruct() : mixed
Return values
mixed

closeCursor()

Closes a cursor by removing it from the entity map.

public closeCursor(string $cursorId) : void
Parameters
$cursorId : string
Tags
see
Operation::executeForCursor()
Return values
void

getClient()

public getClient(string $clientId) : Client
Parameters
$clientId : string
Return values
Client

getDatabase()

public getDatabase(string $databaseId) : Database
Parameters
$databaseId : string
Return values
Database

getLogicalSessionId()

public getLogicalSessionId(string $sessionId) : stdClass
Parameters
$sessionId : string
Return values
stdClass

getRootClientIdOf()

public getRootClientIdOf(string $id) : mixed
Parameters
$id : string
Return values
mixed

getSession()

public getSession(string $sessionId) : Session
Parameters
$sessionId : string
Return values
Session

set()

public set(string $id, mixed $value[, string|null $parentId = null ]) : void
Parameters
$id : string
$value : mixed
$parentId : string|null = null
Return values
void

isSupportedType()

private static isSupportedType() : Constraint
Return values
Constraint

Search results