Skip to content

API reference / Quittio \ Core \ Mapping \ Attributes

ListOf

final readonly class in quittio/core

Quittio\Core\Mapping\Attributes\ListOf · Source

Element type of an array property, used for hydration and schema generation.

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.