Class HasManyFromRepository
Relation for fetching related data from repositories instead of models
- Illuminate\Database\Eloquent\Relations\HasMany
- rsanchez\Deep\Relations\HasManyFromRepository
public
|
#
__construct( Illuminate\Database\Eloquent\Builder $query, Illuminate\Database\Eloquent\Model $parent, string $foreignKey, string $localKey,
|
public
|
|
public
|
|
public
|
protected
|
$repository |
|
|
protected
string
|
$repositoryMethod |
|
#
The repository method used when filling out the relationship |