‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Reflection\ClassSchema\Property Class Reference

Public Member Functions

 __construct (string $name, array $definition)
 
 getName ()
 
list< Type > getTypes ()
 
 getPrimaryType ()
 
 getPrimaryCollectionValueType ()
 
list< Type > getFilteredTypes (callable $callback)
 
 filterLazyLoadingProxyAndLazyObjectStorage (Type $type)
 
 isObjectStorageType ()
 
 isPublic ()
 
 isProtected ()
 
 isPrivate ()
 
 isLazy ()
 
 isTransient ()
 
 isNullable ()
 
 getValidators ()
 
 getCascadeValue ()
 

Private Attributes

string $name
 
array $definition
 
PropertyCharacteristics $characteristics
 

Detailed Description

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

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

Definition at line 29 of file Property.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::__construct ( string  $name,
array  $definition 
)

Member Function Documentation

◆ filterLazyLoadingProxyAndLazyObjectStorage()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::filterLazyLoadingProxyAndLazyObjectStorage ( Type  $type)

Definition at line 104 of file Property.php.

◆ getCascadeValue()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getCascadeValue ( )

Definition at line 153 of file Property.php.

◆ getFilteredTypes()

list<Type> TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getFilteredTypes ( callable  $callback)

◆ getName()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getName ( )

◆ getPrimaryCollectionValueType()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getPrimaryCollectionValueType ( )

◆ getPrimaryType()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getPrimaryType ( )

◆ getTypes()

list<Type> TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getTypes ( )

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

Returns empty array if types could not be evaluated

Returns
‪list<Type>

Definition at line 74 of file Property.php.

◆ getValidators()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getValidators ( )

Definition at line 148 of file Property.php.

◆ isLazy()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isLazy ( )

◆ isNullable()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isNullable ( )

◆ isObjectStorageType()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isObjectStorageType ( )

◆ isPrivate()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isPrivate ( )

◆ isProtected()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isProtected ( )

◆ isPublic()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isPublic ( )

◆ isTransient()

TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isTransient ( )

Member Data Documentation

◆ $characteristics

PropertyCharacteristics TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::$characteristics
private

Definition at line 39 of file Property.php.

◆ $definition

array TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::$definition
private

◆ $name

string TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::$name
private