Methods summary
public
array
|
#
results( )
Get the properly hydrated results for the relationship.
Get the properly hydrated results for the relationship.
Returns
array
|
public
boolean
|
#
save( mixed $models )
Sync the association table with an array of models.
Sync the association table with an array of models.
Parameters
Returns
boolean
|
public
|
#
initialize( array & $parents, string $relationship )
Initialize a relationship on an array of parent models.
Initialize a relationship on an array of parent models.
Parameters
- $parents
array $parents
- $relationship
string $relationship
|
public
|
#
match( array $relationship, array & $parents, mixed $children )
Match eagerly loaded child models to their parent models.
Match eagerly loaded child models to their parent models.
Parameters
- $relationship
array $parents
- $parents
array $children
- $children
|