Skip to content

API reference / Quittio \ Core \ Mapping \ Attributes

MapOf

final readonly class in quittio/core

Quittio\Core\Mapping\Attributes\MapOf · Source

Value type of an array property keyed by strings, e.g. line options keyed by line identifier; the hydrator keeps the keys.

Properties#

PropertyTypeDescription
$type readonlyclass-string|'string'|'int'

Methods#

MethodDescription
->__construct()

__construct()#

public function __construct(class-string|'string'|'int' $type)
ParameterTypeDescription
$typeclass-string|'string'|'int'

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.