PHP Class Neos\Flow\Persistence\Generic\LazySplObjectStorage

Inheritance: extends SplObjectStorage
显示文件 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$objectIdentifiers array The identifiers of the objects contained in the \SplObjectStorage
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface

Public Methods

Method Description
__construct ( array $objectIdentifiers )
addAll ( $storage ) Standard SplObjectStorage methods below
attach ( $object, $data = null )
contains ( $object )
count ( )
current ( )
detach ( $object )
getInfo ( )
injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void
isInitialized ( ) : boolean Returns TRUE if the LazySplObjectStorage has been initialized.
key ( )
next ( )
offsetExists ( $object )
offsetGet ( $object )
offsetSet ( $object, $info )
offsetUnset ( $object )
removeAll ( $storage )
rewind ( )
serialize ( ) we don't do those (yet)
setInfo ( $data )
unserialize ( $serialized )
valid ( )

Protected Methods

Method Description
initialize ( ) : void Loads the objects this LazySplObjectStorage is supposed to hold.

Method Details

__construct() public method

public __construct ( array $objectIdentifiers )
$objectIdentifiers array

addAll() public method

Standard SplObjectStorage methods below
public addAll ( $storage )

attach() public method

public attach ( $object, $data = null )

contains() public method

public contains ( $object )

count() public method

public count ( )

current() public method

public current ( )

detach() public method

public detach ( $object )

getInfo() public method

public getInfo ( )

initialize() protected method

Loads the objects this LazySplObjectStorage is supposed to hold.
protected initialize ( ) : void
return void

injectPersistenceManager() public method

public injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
return void

isInitialized() public method

Returns TRUE if the LazySplObjectStorage has been initialized.
public isInitialized ( ) : boolean
return boolean

key() public method

public key ( )

next() public method

public next ( )

offsetExists() public method

public offsetExists ( $object )

offsetGet() public method

public offsetGet ( $object )

offsetSet() public method

public offsetSet ( $object, $info )

offsetUnset() public method

public offsetUnset ( $object )

removeAll() public method

public removeAll ( $storage )

rewind() public method

public rewind ( )

serialize() public method

we don't do those (yet)
public serialize ( )

setInfo() public method

public setInfo ( $data )

unserialize() public method

public unserialize ( $serialized )

valid() public method

public valid ( )

Property Details

$objectIdentifiers protected_oe property

The identifiers of the objects contained in the \SplObjectStorage
protected array $objectIdentifiers
return array

$persistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
return Neos\Flow\Persistence\PersistenceManagerInterface