SelectedOptions
in package
implements
IteratorAggregate
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $values : array<string|int, mixed>
- create() : self
- Returns a new instance of Selected Options
- getIterator() : ArrayIterator|array<string|int, SelectedOption>
- toArray() : array<string|int, mixed>
- Returns an array containing the Selected Options
- __construct() : mixed
- Constructor
Properties
$values
private
array<string|int, mixed>
$values
Methods
create()
Returns a new instance of Selected Options
public
static create(SelectedOption ...$options) : self
Parameters
- $options : SelectedOption
Return values
self —getIterator()
public
getIterator() : ArrayIterator|array<string|int, SelectedOption>
Return values
ArrayIterator|array<string|int, SelectedOption> —toArray()
Returns an array containing the Selected Options
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —__construct()
Constructor
private
__construct(array<string|int, mixed> $options) : mixed
Parameters
- $options : array<string|int, mixed>