Class HasManyRelation
Representation of the one-to-many relation.
- ICanBoogie\ActiveRecord\Relation uses ICanBoogie\Accessor\AccessorTrait (not available)
- ICanBoogie\ActiveRecord\HasManyRelation
Methods summary
public
|
#
__invoke(
Create a query to retrieve the records that belong to the specified record. |
protected
string
|
#
resolve_property_name(
Resolve the property name from the related model. |
Methods inherited from ICanBoogie\ActiveRecord\Relation
__construct()
,
alter_prototype()
,
get_as()
,
get_foreign_key()
,
get_local_key()
,
get_parent()
,
get_related()
,
resolve_activerecord_class()
,
resolve_related()