Documentation

AbstractModel
in package
implements ArrayAccess

Base class that is used by most API shapes

Interfaces, Classes and Traits

ArrayAccess

Table of Contents

$definition  : array<string|int, mixed>
$shapeMap  : ShapeMap
__construct()  : mixed
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
toArray()  : mixed
shapeAt()  : mixed
shapeFor()  : mixed

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $definition, ShapeMap $shapeMap) : mixed
Parameters
$definition : array<string|int, mixed>

Service description

$shapeMap : ShapeMap

Shapemap used for creating shapes

Return values
mixed

offsetExists()

public offsetExists(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetSet()

public offsetSet(mixed $offset, mixed $value) : mixed
Parameters
$offset : mixed
$value : mixed
Return values
mixed

offsetUnset()

public offsetUnset(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

shapeAt()

protected shapeAt(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

shapeFor()

protected shapeFor(array<string|int, mixed> $definition) : mixed
Parameters
$definition : array<string|int, mixed>
Return values
mixed

Search results