TypeAdapter

final readonly class \TYPO3\CMS\Extbase\Reflection\ClassSchema\TypeAdapter

Adapter providing the old Symfony PropertyInfo\Type API on top of the new TypeInfo\Type.

Table of Contents

Methods

__construct()  : mixed
getBuiltinType()  : string
getClassName()  : string|null
getCollectionKeyTypes()  : array<int, TypeAdapter>
getCollectionValueTypes()  : array<int, TypeAdapter>
isCollection()  : bool
isNullable()  : bool

Methods

__construct()

public __construct(Type $type[, bool $forceNullable = false ]) : mixed

Parameters

$type : Type
$forceNullable : bool = false

getBuiltinType()

public getBuiltinType() : string

Return values

string

getClassName()

public getClassName() : string|null

Return values

string|null

isCollection()

public isCollection() : bool

Return values

bool

isNullable()

public isNullable() : bool

Return values

bool
On this page