class OneToOneAssociationMetadata extends ToOneAssociationMetadata (View source)

Properties

protected bool $primaryKey from AssociationMetadata

Methods

__construct(string $name)

No description

getDeclaringClass()

No description

setDeclaringClass(ComponentMetadata $declaringClass)

No description

getName()

No description

setName($name)

{@inheritdoc}

setPrimaryKey(bool $isPrimaryKey)

No description

isPrimaryKey()

No description

getTargetEntity()

No description

setTargetEntity(string $targetEntity)

No description

getSourceEntity()

No description

setSourceEntity(string $sourceEntity)

No description

string[]
getCascade()

No description

setCascade(array $cascade)

No description

setOwningSide(bool $owningSide)

No description

isOwningSide()

No description

getFetchMode()

No description

setFetchMode(string $fetchMode)

No description

getMappedBy()

No description

setMappedBy(string $mappedBy)

No description

getInversedBy()

No description

setInversedBy(string|null $inversedBy = null)

No description

setOrphanRemoval(bool $orphanRemoval)

No description

isOrphanRemoval()

No description

getCache()

No description

setCache(CacheMetadata|null $cache = null)

No description

setValue(object $object, mixed $value)

No description

mixed
getValue(object $object)

No description

isAssociation()

{@inheritdoc}

isField()

{@inheritdoc}

setReflectionProperty(ReflectionProperty $reflectionProperty)

No description

wakeupReflection(ReflectionService $reflectionService)

No description

__clone()

No description

setJoinColumns(array $joinColumns)

No description

addJoinColumn(JoinColumnMetadata $joinColumn)

No description

Details

__construct(string $name)

Parameters

string $name

getDeclaringClass()

setDeclaringClass(ComponentMetadata $declaringClass)

Parameters

ComponentMetadata $declaringClass

getName()

setName($name)

{@inheritdoc}

Parameters

$name

setPrimaryKey(bool $isPrimaryKey)

Parameters

bool $isPrimaryKey

isPrimaryKey()

getTargetEntity()

setTargetEntity(string $targetEntity)

Parameters

string $targetEntity

getSourceEntity()

setSourceEntity(string $sourceEntity)

Parameters

string $sourceEntity

string[] getCascade()

Return Value

string[]

setCascade(array $cascade)

Parameters

array $cascade

setOwningSide(bool $owningSide)

Parameters

bool $owningSide

isOwningSide()

getFetchMode()

setFetchMode(string $fetchMode)

Parameters

string $fetchMode

getMappedBy()

setMappedBy(string $mappedBy)

Parameters

string $mappedBy

getInversedBy()

setInversedBy(string|null $inversedBy = null)

Parameters

string|null $inversedBy

setOrphanRemoval(bool $orphanRemoval)

Parameters

bool $orphanRemoval

isOrphanRemoval()

getCache()

setCache(CacheMetadata|null $cache = null)

Parameters

CacheMetadata|null $cache

setValue(object $object, mixed $value)

Parameters

object $object
mixed $value

mixed getValue(object $object)

Parameters

object $object

Return Value

mixed

isAssociation()

{@inheritdoc}

isField()

{@inheritdoc}

setReflectionProperty(ReflectionProperty $reflectionProperty)

Parameters

ReflectionProperty $reflectionProperty

wakeupReflection(ReflectionService $reflectionService)

Parameters

ReflectionService $reflectionService

setJoinColumns(array $joinColumns)

Parameters

array $joinColumns

JoinColumnMetadata[] getJoinColumns()

Return Value

JoinColumnMetadata[]

addJoinColumn(JoinColumnMetadata $joinColumn)

Parameters

JoinColumnMetadata $joinColumn