PropertiesCollection implements Iterator, ArrayAccess, Countable
FinalYes
Table of Contents
Interfaces
- Iterator
- ArrayAccess
- Countable
Methods
- __construct() : mixed
- count() : int
- current() : Property|null
- getProperty() : Property|null
- getPropertyNameList() : array<string|int, mixed>
- hasProperty() : bool
- key() : string
- next() : void
- offsetExists() : bool
- offsetGet() : Property|null
- offsetSet() : void
- offsetUnset() : void
- rewind() : void
- toArray() : array<string|int, mixed>
- valid() : bool
Methods
__construct()
public
__construct(array<string|int, Property> $properties) : mixed
Parameters
- $properties : array<string|int, Property>
count()
public
count() : int
Return values
intcurrent()
public
current() : Property|null
Return values
Property|nullgetProperty()
public
getProperty(string $code) : Property|null
Parameters
- $code : string
Return values
Property|nullgetPropertyNameList()
public
getPropertyNameList() : array<string|int, mixed>
Return values
array<string|int, mixed>hasProperty()
public
hasProperty(string $code) : bool
Parameters
- $code : string
Return values
boolkey()
public
key() : string
Return values
stringnext()
public
next() : void
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : Property|null
Parameters
- $offset : mixed
Return values
Property|nulloffsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
rewind()
public
rewind() : void
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>valid()
public
valid() : bool