Method | Description | |
---|---|---|
__construct ( Traversable | array $items = [] ) | ||
count ( ) | ||
getIterator ( ) |
Method | Description | |
---|---|---|
addItem ( mixed $item ) | ||
addNamedItem ( string $name, mixed $item ) | ||
getItems ( ) : array | ||
getNamedItem ( string $name ) : mixed | null | ||
isItemValid ( object $item ) : boolean |
Method | Description | |
---|---|---|
checkItems ( array | Traversable $items ) | ||
isTraversable ( mixed $items ) |
public __construct ( Traversable | array $items = [] ) | ||
$items | Traversable | array |
protected addNamedItem ( string $name, mixed $item ) | ||
$name | string | |
$item | mixed |
abstract protected isItemValid ( object $item ) : boolean | ||
$item | object | |
return | boolean |