TabCollection
in package
implements
Countable, Iterator, ArrayAccess, JsonSerializable
Class TabCollection
Interfaces, Classes and Traits
- Countable
- Iterator
- ArrayAccess
- JsonSerializable
Table of Contents
- $position : int
- $values : array<string|int, Tab>
- __construct() : mixed
- TabCollection constructor.
- count() : int
- current() : mixed
- jsonSerialize() : mixed
- key() : mixed
- next() : void
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- rewind() : void
- valid() : bool
Properties
$position
protected
int
$position
= 0
$values
protected
array<string|int, Tab>
$values
= []
Methods
__construct()
TabCollection constructor.
public
__construct([array<string|int, Tab> $tabs = [] ]) : mixed
Parameters
- $tabs : array<string|int, Tab> = []
Return values
mixed —count()
public
count() : int
Tags
Return values
int —current()
public
current() : mixed
Tags
Return values
mixed —jsonSerialize()
public
jsonSerialize() : mixed
Tags
Return values
mixed —key()
public
key() : mixed
Tags
Return values
mixed —next()
public
next() : void
Tags
Return values
void —offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Tags
Return values
bool —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Tags
Return values
void —offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
Tags
Return values
void —rewind()
public
rewind() : void
Tags
Return values
void —valid()
public
valid() : bool