final |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(string $type, string $owningClass, string $inverseClass)
|
# |
public
|
setOwningProperty(string $owningProperty): void
|
# |
public
|
setInverseProperty(string $inverseProperty): void
|
# |
public
|
setIsNullable(bool $isNullable): void
|
# |
public
|
setOrphanRemoval(bool $orphanRemoval): void
|
# |
public
static
|
getValidRelationTypes(): array
|
# |
public
|
getOwningRelation(): RelationManyToMany|RelationOneToOne|RelationManyToOne
|
# |
public
|
getInverseRelation(): RelationManyToMany|RelationOneToOne|RelationOneToMany
|
# |
public
|
getType(): string
|
# |
public
|
getOwningClass(): string
|
# |
public
|
getInverseClass(): string
|
# |
public
|
getOwningProperty(): string
|
# |
public
|
getInverseProperty(): string
|
# |
public
|
isNullable(): bool
|
# |
public
|
isSelfReferencing(): bool
|
# |
public
|
getMapInverseRelation(): bool
|
# |
public
|
setMapInverseRelation(bool $mapInverseRelation): void
|
# |
| Constants | ||
|---|---|---|
public
|
MANY_TO_ONE = 'ManyToOne'
|
# |
public
|
ONE_TO_MANY = 'OneToMany'
|
# |
public
|
MANY_TO_MANY = 'ManyToMany'
|
# |
public
|
ONE_TO_ONE = 'OneToOne'
|
# |
| Properties | |||
|---|---|---|---|
private
|
|
$owningProperty
|
# |
private
|
|
$inverseProperty
|
# |
private
|
bool
|
$isNullable = false
|
# |
private
|
bool
|
$isSelfReferencing = false
|
# |
private
|
bool
|
$orphanRemoval = false
|
# |
private
|
bool
|
$mapInverseRelation = true
|
# |
private
|
string
|
$type
|
# |
private
|
string
|
$owningClass
|
# |
private
|
string
|
$inverseClass
|
# |