RelationshipInterface
in
Relationship class for "has one" relationships
Tags
Table of Contents
Methods
- getEagerRelationships() : array<string|int, mixed>
- Get eager relationships
- getForeignKey() : string|null
- Get foreign key
- getForeignTable() : string|null
- Get foreign table
- getOptions() : array<string|int, mixed>|null
- Get options
Methods
getEagerRelationships()
Get eager relationships
public
getEagerRelationships(array<string|int, mixed> $ids) : array<string|int, mixed>
Parameters
- $ids : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getForeignKey()
Get foreign key
public
getForeignKey() : string|null
Return values
string|nullgetForeignTable()
Get foreign table
public
getForeignTable() : string|null
Return values
string|nullgetOptions()
Get options
public
getOptions() : array<string|int, mixed>|null