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

Public Member Functions

 __construct (string $name, array $definition)
 
string getName ()
 
string null getType ()
 
string null getElementType ()
 
bool isPublic ()
 
bool isProtected ()
 
bool isPrivate ()
 
bool isLazy ()
 
bool isTransient ()
 
bool isInjectProperty ()
 
array getValidators ()
 
mixed getDefaultValue ()
 
string null 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 24 of file Property.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 42 of file Property.php.

References TYPO3\CMS\Extbase\Reflection\ClassSchema\Property\$definition, and TYPO3\CMS\Extbase\Reflection\ClassSchema\Property\$name.

Member Function Documentation

◆ getCascadeValue()

string null TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getCascadeValue ( )
Returns
‪string|null

Definition at line 167 of file Property.php.

◆ getDefaultValue()

mixed TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getDefaultValue ( )
Returns
‪mixed

Definition at line 159 of file Property.php.

◆ getElementType()

string null TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::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.

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

Returns
‪string|null

Definition at line 95 of file Property.php.

◆ getName()

string TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getName ( )
Returns
‪string

Definition at line 68 of file Property.php.

References TYPO3\CMS\Extbase\Reflection\ClassSchema\Property\$name.

◆ getType()

string null TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getType ( )

Definition at line 80 of file Property.php.

◆ getValidators()

array TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::getValidators ( )
Returns
‪array

Definition at line 151 of file Property.php.

◆ isInjectProperty()

bool TYPO3\CMS\Extbase\Reflection\ClassSchema\Property::isInjectProperty ( )

◆ isLazy()

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

◆ isPrivate()

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

◆ isProtected()

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

◆ isPublic()

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

◆ isTransient()

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

Member Data Documentation

◆ $characteristics

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

Definition at line 36 of file Property.php.

◆ $definition

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

◆ $name

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