phpDocumentor

Options
in package
implements IteratorAggregate

Interfaces, Classes and Traits

IteratorAggregate

Table of Contents

$values  : array<string|int, Option>
create()  : self
Create instance.
getById()  : Option
Return option by ID.
getIterator()  : ArrayIterator
validateUpdateSet()  : void
Validate option update set.
__construct()  : mixed
Constructor.

Properties

Methods

create()

Create instance.

public static create(Option ...$options) : self
Parameters
$options : Option
Return values
self

getById()

Return option by ID.

public getById(string $id) : Option
Parameters
$id : string
Return values
Option

getIterator()

public getIterator() : ArrayIterator
Tags
inheritDoc
Return values
ArrayIterator

validateUpdateSet()

Validate option update set.

public validateUpdateSet(array<string|int, mixed> $updateSet) : void
Parameters
$updateSet : array<string|int, mixed>
Return values
void

__construct()

Constructor.

private __construct(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>
Return values
mixed

Search results