class LazySplObjectStorage extends SplObjectStorage (View source)

deprecated since Flow 6.0

A lazy loading variant of \SplObjectStorage

Properties

protected array $objectIdentifiers

The identifiers of the objects contained in the \SplObjectStorage

protected PersistenceManagerInterface $persistenceManager

Methods

void
injectPersistenceManager(PersistenceManagerInterface $persistenceManager)

No description

__construct(array $objectIdentifiers)

No description

void
initialize()

Loads the objects this LazySplObjectStorage is supposed to hold.

bool
isInitialized()

Returns true if the LazySplObjectStorage has been initialized.

addAll($storage)

No description

attach($object, $data = null)

No description

contains($object)

No description

count()

No description

current()

No description

detach($object)

No description

getInfo()

No description

key()

No description

next()

No description

offsetExists($object)

No description

offsetGet($object)

No description

offsetSet($object, $data = null)

No description

offsetUnset($object)

No description

removeAll($storage)

No description

rewind()

No description

setInfo($data)

No description

valid()

No description

serialize()

No description

unserialize($serialized)

No description

Details

void injectPersistenceManager(PersistenceManagerInterface $persistenceManager)

No description

Parameters

PersistenceManagerInterface $persistenceManager

Return Value

void

__construct(array $objectIdentifiers)

No description

Parameters

array $objectIdentifiers

protected void initialize()

Loads the objects this LazySplObjectStorage is supposed to hold.

Return Value

void

bool isInitialized()

Returns true if the LazySplObjectStorage has been initialized.

Return Value

bool

addAll($storage)

No description

Parameters

$storage

attach($object, $data = null)

No description

Parameters

$object
$data

contains($object)

No description

Parameters

$object

count()

No description

current()

No description

detach($object)

No description

Parameters

$object

getInfo()

No description

key()

No description

next()

No description

offsetExists($object)

No description

Parameters

$object

offsetGet($object)

No description

Parameters

$object

offsetSet($object, $data = null)

No description

Parameters

$object
$data

offsetUnset($object)

No description

Parameters

$object

removeAll($storage)

No description

Parameters

$storage

rewind()

No description

setInfo($data)

No description

Parameters

$data

valid()

No description

serialize()

No description

unserialize($serialized)

No description

Parameters

$serialized