class ClassMetadata extends ClassMetadata (View source)

A ClassMetadata instance holds all the object-relational mapping metadata of an entity and it's associations.

Properties

ClassReflection|null $reflClass

Methods

getReflectionClass()

Gets the ReflectionClass instance of the mapped class.

void
initializeReflection(ReflectionService $reflService)

Initializes $this->reflClass and a number of related variables.

void
wakeupReflection(ReflectionService $reflService)

Restores some state that can not be serialized/unserialized.

void
_initializeReflection()

Initializes $this->reflClass and a number of related variables.

Details

ClassReflection getReflectionClass()

Gets the ReflectionClass instance of the mapped class.

Return Value

ClassReflection

void initializeReflection(ReflectionService $reflService)

Initializes $this->reflClass and a number of related variables.

Parameters

ReflectionService $reflService

Return Value

void

void wakeupReflection(ReflectionService $reflService)

Restores some state that can not be serialized/unserialized.

Parameters

ReflectionService $reflService

Return Value

void

protected void _initializeReflection()

Initializes $this->reflClass and a number of related variables.

Return Value

void