JoinColumn
in package
implements
MappingAttribute
Uses
JoinColumnProperties
FinalYes
Tags
Table of Contents
Interfaces
- MappingAttribute
- A marker interface for mapping attributes.
Properties
- $columnDefinition : string|null
- $fieldName : string|null
- Field name used in non-object hydration (array/scalar).
- $name : string|null
- $nullable : bool
- $onDelete : mixed
- $options : array<string, mixed>
- $referencedColumnName : string
- $unique : bool
Methods
- __construct() : mixed
Properties
$columnDefinition
public
string|null
$columnDefinition
Tags
$fieldName
Field name used in non-object hydration (array/scalar).
public
string|null
$fieldName
Tags
$name
public
string|null
$name
Tags
$nullable
public
bool
$nullable
= true
Tags
$onDelete
public
mixed
$onDelete
Tags
$options
public
array<string, mixed>
$options
= []
Tags
$referencedColumnName
public
string
$referencedColumnName
= 'id'
Tags
$unique
public
bool
$unique
= false
Tags
Methods
__construct()
public
__construct([string|null $name = null ][, string $referencedColumnName = 'id' ][, bool $unique = false ][, bool $nullable = true ][, mixed $onDelete = null ][, string|null $columnDefinition = null ][, string|null $fieldName = null ][, array<string, mixed> $options = [] ]) : mixed
Parameters
- $name : string|null = null
- $referencedColumnName : string = 'id'
- $unique : bool = false
- $nullable : bool = true
- $onDelete : mixed = null
- $columnDefinition : string|null = null
- $fieldName : string|null = null
- $options : array<string, mixed> = []