TypeAdapter

Read onlyYes
FinalYes

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

Internal

only to be used within Extbase, not part of TYPO3 Core API.

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

Search results