AssociationOverrides
in package
implements
MappingAttribute
FinalYes
This attribute is used to override association mappings of relationship properties.
Tags
Table of Contents
Interfaces
- MappingAttribute
- A marker interface for mapping attributes.
Properties
- $overrides : array<int, AssociationOverride>
- Mapping overrides of relationship properties.
Methods
- __construct() : mixed
Properties
$overrides
Mapping overrides of relationship properties.
public
array<int, AssociationOverride>
$overrides
= []
Tags
Methods
__construct()
public
__construct(array<string|int, AssociationOverride>|AssociationOverride $overrides) : mixed
Parameters
- $overrides : array<string|int, AssociationOverride>|AssociationOverride