RelationshipInterface
in
Relationship class for "has one" relationships
Tags
Table of Contents
- getEagerRelationships() : array<string|int, mixed>
- Get eager relationships
- getForeignKey() : string
- Get foreign key
- getForeignTable() : string
- Get foreign table
- getOptions() : array<string|int, mixed>
- 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
Return values
string —getForeignTable()
Get foreign table
public
getForeignTable() : string
Return values
string —getOptions()
Get options
public
getOptions() : array<string|int, mixed>