OneToMany
in package
implements
MappingAttribute
FinalYes
Tags
Table of Contents
Interfaces
- MappingAttribute
- A marker interface for mapping attributes.
Properties
- $cascade : array<string|int, string>|null
- $fetch : string
- The fetching strategy to use for the association.
- $indexBy : string|null
- $mappedBy : string|null
- $orphanRemoval : bool
- $targetEntity : class-string|null
Methods
- __construct() : mixed
Properties
$cascade
public
array<string|int, string>|null
$cascade
Tags
$fetch
The fetching strategy to use for the association.
public
string
$fetch
= 'LAZY'
Tags
$indexBy
public
string|null
$indexBy
Tags
$mappedBy
public
string|null
$mappedBy
Tags
$orphanRemoval
public
bool
$orphanRemoval
= false
Tags
$targetEntity
public
class-string|null
$targetEntity
Tags
Methods
__construct()
public
__construct([string|null $mappedBy = null ][, class-string|null $targetEntity = null ][, array<string|int, string>|null $cascade = null ][, string $fetch = 'LAZY' ][, bool $orphanRemoval = false ][, string|null $indexBy = null ]) : mixed
Parameters
- $mappedBy : string|null = null
- $targetEntity : class-string|null = null
- $cascade : array<string|int, string>|null = null
- $fetch : string = 'LAZY'
- $orphanRemoval : bool = false
- $indexBy : string|null = null