Relation
- Full name:
\Qubus\Expressive\ActiveRecord\Relations\Relation - This class implements:
\Countable,\IteratorAggregate - This class is an Abstract class
Properties
parent
related
join
eagerLoading
eagerKeys
eagerResults
Methods
__construct
public __construct(\Qubus\Expressive\ActiveRecord\Model $parent, \Qubus\Expressive\ActiveRecord\Model $related): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$parent | \Qubus\Expressive\ActiveRecord\Model | |
$related | \Qubus\Expressive\ActiveRecord\Model |
getResults
- This method is abstract.
setJoin
- This method is abstract.
match
- This method is abstract.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$parent | \Qubus\Expressive\ActiveRecord\Model |
eagerLoad
Parameters:
| Parameter | Type | Description |
|---|---|---|
$parentRows | mixed | |
$relatedKeys | mixed | |
$relation | mixed |
relate
Parameters:
| Parameter | Type | Description |
|---|---|---|
$parent | \Qubus\Expressive\ActiveRecord\Model |
getIterator
count
__call
Parameters:
| Parameter | Type | Description |
|---|---|---|
$name | mixed | |
$param | mixed |
Automatically generated on 2025-10-13