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#
| Property | Type | Description |
|---|---|---|
$type readonly | class-string|'string'|'int' |
Methods#
| Method | Description |
|---|---|
->__construct() |
__construct()#
public function __construct(class-string|'string'|'int' $type)| Parameter | Type | Description |
|---|---|---|
$type | class-string|'string'|'int' |