Метод | Описание | |
---|---|---|
__construct ( array $collection = [] ) | Collection constructor. | |
count ( ) | ||
get ( $name ) | ||
getIterator ( ) | ||
has ( $name ) | ||
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
set ( $name, $object ) | ||
toArray ( ) : array |
public __construct ( array $collection = [] ) | ||
$collection | array |