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
- filterLazyLoadingProxyAndLazyObjectStorage() : bool
- getCascadeValue() : string|null
- getDefaultValue() : mixed
- getElementType() : non-empty-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.
- getFilteredTypes() : array<int, Type>
- getName() : string
- getPrimaryType() : Type|null
- Returns the primary type found in a list of types except LazyLoadingProxy
- getType() : non-empty-string|null
- Returns the type (string, integer, ...) set by the `@var` doc comment and php property type declarations
- getTypes() : array<int, Type>
- Returns the types (string, integer, ...) set by the `@var` doc comment and php property type declarations
- getValidators() : array<string|int, mixed>
- isLazy() : bool
- isNullable() : bool
- isObjectStorageType() : 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>
filterLazyLoadingProxyAndLazyObjectStorage()
    public
                    filterLazyLoadingProxyAndLazyObjectStorage(Type $type) : bool
    Parameters
- $type : Type
Return values
boolgetCascadeValue()
    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() : non-empty-string|null
    since v12, will be removed in v13.
Returns null if the property is not a collection and therefore no element type is defined.
Return values
non-empty-string|nullgetFilteredTypes()
    public
                    getFilteredTypes(callable $callback) : array<int, Type>
    Parameters
- $callback : callable
Return values
array<int, Type>getName()
    public
                    getName() : string
    Return values
stringgetPrimaryType()
Returns the primary type found in a list of types except LazyLoadingProxy
    public
                    getPrimaryType() : Type|null
    Return values
Type|nullgetType()
Returns the type (string, integer, ...) set by the `@var` doc comment and php property type declarations
    public
                    getType() : non-empty-string|null
    since v12, will be removed in v13.
Returns null if type could not be evaluated
Return values
non-empty-string|nullgetTypes()
Returns the types (string, integer, ...) set by the `@var` doc comment and php property type declarations
    public
                    getTypes() : array<int, Type>
    Returns empty array if types could not be evaluated
Return values
array<int, Type>getValidators()
    public
                    getValidators() : array<string|int, mixed>
    Return values
array<string|int, mixed>isLazy()
    public
                    isLazy() : bool
    Return values
boolisNullable()
    public
                    isNullable() : bool
    Return values
boolisObjectStorageType()
    public
                    isObjectStorageType() : 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