\Pop\Db\Record\RelationshipsRelationshipInterface

Relationship class for "has one" relationships

Summary

Methods
Constants
getForeignTable()
getForeignKey()
getEagerRelationships()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getForeignTable()

getForeignTable() : string

Get foreign table

Returns

string

getForeignKey()

getForeignKey() : string

Get foreign key

Returns

string

getEagerRelationships()

getEagerRelationships(array  $ids) : array

Get eager relationships

Parameters

array $ids

Throws

\Pop\Db\Record\Relationships\Exception

Returns

array