Class BelongsToRelation
Representation of the one-to-one relation.
- ICanBoogie\ActiveRecord\Relation uses ICanBoogie\Accessor\AccessorTrait (not available)
- ICanBoogie\ActiveRecord\BelongsToRelation
Methods summary
public
|
#
__construct(
|
public
|
|
protected
|
#
alter_prototype( ICanBoogie\Prototype $prototype, string $property )
Adds a setter for the property to update the local key. |
protected
string
|
Methods inherited from ICanBoogie\ActiveRecord\Relation
get_as()
,
get_foreign_key()
,
get_local_key()
,
get_parent()
,
get_related()
,
resolve_activerecord_class()
,
resolve_related()