abstract class PersistentCollection implements Collection (View source)

Persistent collection class

Properties

protected Collection $col
protected $changed
$isInitialized

Methods

initialize()

No description

changed()

No description

takeSnapshot()

No description

unwrap()

No description

add($element)

No description

clear()

No description

contains($element)

No description

containsKey($key)

No description

count()

No description

current()

No description

exists(Closure $p)

No description

filter(Closure $p)

No description

first()

No description

forAll(Closure $p)

No description

get($key)

No description

getIterator()

No description

getKeys()

No description

getValues()

No description

indexOf($element)

No description

isEmpty()

No description

key()

No description

last()

No description

map(Closure $func)

No description

next()

No description

offsetExists($offset)

No description

offsetGet($offset)

No description

offsetSet($offset, $value)

No description

offsetUnset($offset)

No description

partition(Closure $p)

No description

remove($key)

No description

removeElement($element)

No description

set($key, $value)

No description

slice($offset, $length = null)

No description

toArray()

No description

Details

abstract initialize()

changed()

takeSnapshot()

unwrap()

add($element)

Parameters

$element

clear()

contains($element)

Parameters

$element

containsKey($key)

Parameters

$key

count()

current()

exists(Closure $p)

Parameters

Closure $p

filter(Closure $p)

Parameters

Closure $p

first()

forAll(Closure $p)

Parameters

Closure $p

get($key)

Parameters

$key

getIterator()

getKeys()

getValues()

indexOf($element)

Parameters

$element

isEmpty()

key()

last()

map(Closure $func)

Parameters

Closure $func

next()

offsetExists($offset)

Parameters

$offset

offsetGet($offset)

Parameters

$offset

offsetSet($offset, $value)

Parameters

$offset
$value

offsetUnset($offset)

Parameters

$offset

partition(Closure $p)

Parameters

Closure $p

remove($key)

Parameters

$key

removeElement($element)

Parameters

$element

set($key, $value)

Parameters

$key
$value

slice($offset, $length = null)

Parameters

$offset
$length

toArray()