extends |
MorphToMany |
---|---|
uses |
InteractsWithOrderablePivotTable |
Many to many relation with ordering support.
Methods | ||
---|---|---|
public
|
__construct(
Builder $query,
Model $parent,
string $name,
string $orderColumn,
string $table,
string $foreignPivotKey,
string $relatedPivotKey,
string $parentKey,
string $relatedKey,
string $relationName = null,
bool $inverse = false,
)
|
# |
public
|
newPivotQuery(boolean $ordered = true): Builder
|
# |
Methods used from Illuminate\Support\Traits\ForwardsCalls |
---|
forwardCallTo(), forwardDecoratedCallTo(), throwBadMethodCallException() |
Methods used from Illuminate\Support\Traits\Macroable |
---|
macro(), mixin(), hasMacro(), flushMacros(), __callStatic(), |
Methods used from Illuminate\Database\Eloquent\Relations\Concerns\InteractsWithDictionary |
---|
getDictionaryKey() |
Properties inherited from Illuminate\Database\Eloquent\Relations\MorphToMany |
---|
$morphType, $morphClass, $inverse |
Properties inherited from Illuminate\Database\Eloquent\Relations\Relation |
---|
$query, $parent, $related, $eagerKeysWereEmpty, $constraints, $morphMap, $requireMorphMap, $selfJoinCount |
Properties used from Illuminate\Support\Traits\Macroable |
---|
$macros |
Properties used from Baril\Orderly\Relations\Concerns\InteractsWithOrderablePivotTable |
---|
$orderColumn |