ReflectionService

class \TYPO3\CMS\Extbase\Reflection\ReflectionService

Implements
SingletonInterface

Reflection service for acquiring reflection based information.

Originally based on the TYPO3.Flow reflection service.

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Properties

$classSchemata  : array
Local cache for Class schemata
$dataCache  : FrontendInterface
$dataCacheNeedsUpdate  : bool
Indicates whether the Reflection cache needs to be updated.

Methods

__construct()  : mixed
__destruct()  : mixed
__sleep()  : array
__wakeup()  : void
getClassSchema()  : ClassSchema
Returns the class schema for the given class
buildClassSchema()  : ClassSchema
Builds class schemata from classes annotated as entities or value objects

Properties

$classSchemata

Local cache for Class schemata

protected array $classSchemata = []

$dataCacheNeedsUpdate

Indicates whether the Reflection cache needs to be updated.

protected bool $dataCacheNeedsUpdate = false

This flag needs to be set as soon as new Reflection information was created.

Methods

__sleep()

public __sleep() : array

Return values

array

__wakeup()

public __wakeup() : void

buildClassSchema()

Builds class schemata from classes annotated as entities or value objects

protected buildClassSchema(string $className) : ClassSchema

Parameters

$className : string

Tags

throws
UnknownClassException

Return values

ClassSchema —

The class schema

On this page