LazyFileReferenceCollection implements IteratorAggregate, ArrayAccess, Countable

When first accessed, this class will initialize itself and find the file references for this record field.

This class acts as a "Value holder", as it only fetches the related file references when needed.

Internal

not part of public API, as this needs to be streamlined and proven

Table of Contents

Interfaces

IteratorAggregate
ArrayAccess
Countable

Methods

__construct()  : mixed
__toString()  : string
count()  : int
getIterator()  : Iterator
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void

Methods

__construct()

public __construct(mixed $fieldValue, Closure $initialization) : mixed
Parameters
$fieldValue : mixed
$initialization : Closure

__toString()

public __toString() : string
Return values
string

count()

public count() : int
Return values
int

getIterator()

public getIterator() : Iterator
Return values
Iterator

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

        
On this page

Search results