__construct() __construct(\Pop\Db\Record $parent, string $foreignTable, string $foreignKey) Constructor Instantiate the relationship object Parameters \Pop\Db\Record $parent string $foreignTable string $foreignKey
getEagerRelationships() getEagerRelationships(array $ids, boolean $asArray = false) : array Get eager relationships Parameters array $ids boolean $asArray Throws \Pop\Db\Record\Relationships\Exception Returns array
getChildren() getChildren(array $options = null) : \Pop\Db\Record\Relationships\Collection Get children Parameters array $options Returns \Pop\Db\Record\Relationships\Collection