Property

Class TYPO3\CMS\Extbase\Reflection\ClassSchema\Property

Internal

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

Table of Contents

Methods

__construct()  : mixed
getCascadeValue()  : string|null
getDefaultValue()  : mixed
getElementType()  : string|null
If the property is a collection of one of the types defined in \TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::$collectionTypes, the element type is evaluated and represents the type of collection items inside the collection.
getName()  : string
getType()  : string|null
Returns the type (string, integer, ...) set by the @var doc comment
getValidators()  : array<string|int, mixed>
isInjectProperty()  : bool
isLazy()  : bool
isNullable()  : bool
isPrivate()  : bool
isProtected()  : bool
isPublic()  : bool
isTransient()  : bool

Methods

__construct()

public __construct(string $name, array<string|int, mixed> $definition) : mixed
Parameters
$name : string
$definition : array<string|int, mixed>

getCascadeValue()

public getCascadeValue() : string|null
Return values
string|null

getDefaultValue()

public getDefaultValue() : mixed

getElementType()

If the property is a collection of one of the types defined in \TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::$collectionTypes, the element type is evaluated and represents the type of collection items inside the collection.

public getElementType() : string|null

Returns null if the property is not a collection and therefore no element type is defined.

Return values
string|null

getName()

public getName() : string
Return values
string

getType()

Returns the type (string, integer, ...) set by the @var doc comment

public getType() : string|null

Returns null if type could not be evaluated

Return values
string|null

getValidators()

public getValidators() : array<string|int, mixed>
Return values
array<string|int, mixed>

isInjectProperty()

public isInjectProperty() : bool
Return values
bool

isLazy()

public isLazy() : bool
Return values
bool

isNullable()

public isNullable() : bool
Return values
bool

isPrivate()

public isPrivate() : bool
Return values
bool

isProtected()

public isProtected() : bool
Return values
bool

isPublic()

public isPublic() : bool
Return values
bool

isTransient()

public isTransient() : bool
Return values
bool

        
On this page

Search results