trait CollectionProxy

Allows an object to act as a proxy for a NormalizedCollection stored in $this->collection

Properties

NormalizedCollection $collection

Methods

mixed
__call(string $methodName, array $args)

Forward all unknown method calls to $this->collection

bool
offsetExists(string|int $offset)

No description

mixed
offsetGet(string|int $offset)

No description

void
offsetSet(string|int $offset, mixed $value)

No description

void
offsetUnset(string|int $offset)

No description

int
count()

No description

mixed
current()

No description

string|int
key()

No description

mixed
next()

No description

void
rewind()

No description

bool
valid()

No description

mixed
add(string $key, mixed $value)

No description

array
asConfig()

No description

bool
contains(mixed $value)

No description

void
delete(string $key)

No description

bool
exists(string $key)

No description

mixed
get(string $key)

No description

mixed
indexOf(mixed $value)

No description

string
normalizeKey(string $key)

No description

mixed
normalizeValue(mixed $value)

No description

string
onDuplicate(string $action)

No description

mixed
set(string $key, mixed $value)

No description

Details

at line 36
mixed __call(string $methodName, array $args)

Forward all unknown method calls to $this->collection

Parameters

string $methodName
array $args

Return Value

mixed

at line 49
bool offsetExists(string|int $offset)

No description

Parameters

string|int $offset

Return Value

bool

at line 58
mixed offsetGet(string|int $offset)

No description

Parameters

string|int $offset

Return Value

mixed

at line 69
void offsetSet(string|int $offset, mixed $value)

No description

Parameters

string|int $offset
mixed $value

Return Value

void

at line 78
void offsetUnset(string|int $offset)

No description

Parameters

string|int $offset

Return Value

void

at line 90
int count()

No description

Return Value

int

at line 102
mixed current()

No description

Return Value

mixed

at line 111
string|int key()

No description

Return Value

string|int

at line 120
mixed next()

No description

Return Value

mixed

at line 129
void rewind()

No description

Return Value

void

at line 137
bool valid()

No description

Return Value

bool

at line 27
mixed add(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

mixed

at line 27
array asConfig()

No description

Return Value

array

at line 27
bool contains(mixed $value)

No description

Parameters

mixed $value

Return Value

bool

at line 27
void delete(string $key)

No description

Parameters

string $key

Return Value

void

at line 27
bool exists(string $key)

No description

Parameters

string $key

Return Value

bool

at line 27
mixed get(string $key)

No description

Parameters

string $key

Return Value

mixed

at line 27
mixed indexOf(mixed $value)

No description

Parameters

mixed $value

Return Value

mixed

at line 27
string normalizeKey(string $key)

No description

Parameters

string $key

Return Value

string

at line 27
mixed normalizeValue(mixed $value)

No description

Parameters

mixed $value

Return Value

mixed

at line 27
string onDuplicate(string $action)

No description

Parameters

string $action

Return Value

string

at line 27
mixed set(string $key, mixed $value)

No description

Parameters

string $key
mixed $value

Return Value

mixed