Property

class \TYPO3\CMS\Extbase\Reflection\ClassSchema\Property

Tags

phpstan-type

PropertyDefinitionSpec array{ 'c': null|string, 'f': null|array<string, mixed>, 't': null|Type, 'v': list, 'propertyCharacteristicsBit'?: int }

Table of Contents

Methods

__construct()  : mixed
filterLazyLoadingProxyAndLazyObjectStorage()  : bool
getCascadeValue()  : string|null
getFileUpload()  : array|null
getFilteredTypes()  : array<int, TypeAdapter>
getName()  : string
getPrimaryCollectionValueType()  : TypeAdapter|null
getPrimaryType()  : TypeAdapter|null
Returns the primary type found in a list of types except LazyLoadingProxy
getType()  : Type|null
Gets the native `symfony/type-info` type.
getTypes()  : array<int, TypeAdapter>
Returns the types (string, integer, ...) set by the `@var` doc comment and php property type declarations
getValidators()  : array
ignoreValidation()  : bool
isLazy()  : bool
isNullable()  : bool
isObjectStorageType()  : bool
isPrivate()  : bool
isProtected()  : bool
isPublic()  : bool
isTransient()  : bool

Methods

__construct()

public __construct(string $name, PropertyDefinitionSpec $definition) : mixed

Parameters

$name : string
$definition : PropertyDefinitionSpec

filterLazyLoadingProxyAndLazyObjectStorage()

public filterLazyLoadingProxyAndLazyObjectStorage(TypeAdapter $type) : bool

Parameters

$type : TypeAdapter

Return values

bool

getCascadeValue()

public getCascadeValue() : string|null

Return values

string|null

getFileUpload()

public getFileUpload() : array|null

Return values

array|null

getFilteredTypes()

public getFilteredTypes(callable $callback) : array<int, TypeAdapter>

Parameters

$callback : callable

Return values

array<int, TypeAdapter>

getName()

public getName() : string

Return values

string

getPrimaryType()

Returns the primary type found in a list of types except LazyLoadingProxy

public getPrimaryType() : TypeAdapter|null

Return values

TypeAdapter|null

getType()

Gets the native `symfony/type-info` type.

public getType() : Type|null

Return values

Type|null

getTypes()

Returns the types (string, integer, ...) set by the `@var` doc comment and php property type declarations

public getTypes() : array<int, TypeAdapter>

Returns empty array if types could not be evaluated

Return values

array<int, TypeAdapter>

getValidators()

public getValidators() : array

Return values

array

ignoreValidation()

public ignoreValidation() : bool

Return values

bool

isLazy()

public isLazy() : bool

Return values

bool

isNullable()

public isNullable() : bool

Return values

bool

isObjectStorageType()

public isObjectStorageType() : 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