class EmbeddedClassMetadata extends ComponentMetadata implements Property (View source)

Properties

protected string $className from ComponentMetadata
MappedSuperClassMetadata $parent
protected ReflectionClass|null $reflectionClass The ReflectionClass instance of the component class. from ComponentMetadata
protected CacheMetadata|null $cache from ComponentMetadata
protected Property[] $declaredProperties from ComponentMetadata
protected bool $primaryKey

Methods

__construct(string $name, string $className, MappedSuperClassMetadata|null $parent = null)

No description

getClassName()

No description

setParent(ComponentMetadata $parent)

No description

getParent()

No description

getReflectionClass()

No description

setCache(CacheMetadata|null $cache = null)

No description

getCache()

No description

iterable|Property[]
addDeclaredProperty(Property $property)

No description

hasDeclaredProperty(string $propertyName)

No description

iterable|Property[]
getPropertiesIterator()

No description

getProperty(string $propertyName)

No description

hasProperty(string $propertyName)

No description

getDeclaringClass()

No description

setDeclaringClass(ComponentMetadata $declaringClass)

No description

getName()

No description

setName($name)

{@inheritdoc}

setPrimaryKey(bool $isPrimaryKey)

No description

isPrimaryKey()

No description

setValue(object $object, mixed $value)

No description

mixed
getValue(object $object)

No description

setReflectionProperty(ReflectionProperty $reflectionProperty)

No description

wakeupReflection(ReflectionService $reflectionService)

No description

Details

__construct(string $name, string $className, MappedSuperClassMetadata|null $parent = null)

Parameters

string $name
string $className
MappedSuperClassMetadata|null $parent

getClassName()

setParent(ComponentMetadata $parent)

Parameters

ComponentMetadata $parent

getParent()

getReflectionClass()

setCache(CacheMetadata|null $cache = null)

Parameters

CacheMetadata|null $cache

getCache()

iterable|Property[] getDeclaredPropertiesIterator()

Return Value

iterable|Property[]

addDeclaredProperty(Property $property)

Parameters

Property $property

Exceptions

ReflectionException
MappingException

hasDeclaredProperty(string $propertyName)

Parameters

string $propertyName

iterable|Property[] getPropertiesIterator()

Return Value

iterable|Property[]

getProperty(string $propertyName)

Parameters

string $propertyName

hasProperty(string $propertyName)

Parameters

string $propertyName

getDeclaringClass()

setDeclaringClass(ComponentMetadata $declaringClass)

Parameters

ComponentMetadata $declaringClass

getName()

setName($name)

{@inheritdoc}

Parameters

$name

setPrimaryKey(bool $isPrimaryKey)

Parameters

bool $isPrimaryKey

isPrimaryKey()

setValue(object $object, mixed $value)

Parameters

object $object
mixed $value

mixed getValue(object $object)

Parameters

object $object

Return Value

mixed

setReflectionProperty(ReflectionProperty $reflectionProperty)

Parameters

ReflectionProperty $reflectionProperty

wakeupReflection(ReflectionService $reflectionService)

Parameters

ReflectionService $reflectionService