Property
Class TYPO3\CMS\Extbase\Reflection\ClassSchema\Property
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|nullgetDefaultValue()
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|nullgetName()
public
getName() : string
Return values
stringgetType()
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|nullgetValidators()
public
getValidators() : array<string|int, mixed>
Return values
array<string|int, mixed>isInjectProperty()
public
isInjectProperty() : bool
Return values
boolisLazy()
public
isLazy() : bool
Return values
boolisNullable()
public
isNullable() : bool
Return values
boolisPrivate()
public
isPrivate() : bool
Return values
boolisProtected()
public
isProtected() : bool
Return values
boolisPublic()
public
isPublic() : bool
Return values
boolisTransient()
public
isTransient() : bool