AvailTemplate
in package
implements
ArrayAccess
Uses
AccessPropertiesAsArray
Tags
Interfaces, Classes, Traits and Enums
- ArrayAccess
Table of Contents
- $name : string
- $pageCount : int
- __construct() : mixed
- fromArray() : static
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
Properties
$name
public
string
$name
$pageCount
public
int
$pageCount
Methods
__construct()
public
__construct(string $name, int $pageCount) : mixed
Parameters
- $name : string
- $pageCount : int
Return values
mixed —fromArray()
public
static fromArray(array<string|int, mixed> $data) : static
Parameters
- $data : array<string|int, mixed>
Return values
static —offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
bool —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Return values
void —offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed