BelongsTo::addConstraints()
  • References/PHP/Laravel/Database/Eloquent/Relations

void addConstraints() Set the base constraints on the relation query.

2025-01-10 15:47:30
Pivot::fresh()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this|null fresh(array|string $with = array()) Reload a fresh model instance

2025-01-10 15:47:30
MorphOneOrMany::wrap()
  • References/PHP/Laravel/Database/Eloquent/Relations

string wrap(string $value) Wrap the given value with the parent query's

2025-01-10 15:47:30
MorphMany::getQualifiedParentKeyName()
  • References/PHP/Laravel/Database/Eloquent/Relations

string getQualifiedParentKeyName() Get the fully qualified parent key name

2025-01-10 15:47:30
MorphPivot::applyGlobalScopes()
  • References/PHP/Laravel/Database/Eloquent/Relations

Builder applyGlobalScopes(

2025-01-10 15:47:30
MorphToMany::first()
  • References/PHP/Laravel/Database/Eloquent/Relations

mixed first(array $columns = array('*')) Execute the query and get the

2025-01-10 15:47:30
Pivot::getGlobalScope()
  • References/PHP/Laravel/Database/Eloquent/Relations

static Scope|

2025-01-10 15:47:30
MorphPivot::getAttributes()
  • References/PHP/Laravel/Database/Eloquent/Relations

array getAttributes() Get all of the current attributes on the model.

2025-01-10 15:47:30
MorphPivot::setPivotKeys()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this setPivotKeys(string $foreignKey, string $otherKey) Set the key names

2025-01-10 15:47:30
Pivot::updated()
  • References/PHP/Laravel/Database/Eloquent/Relations

static void updated(Closure|string $callback, int $priority)

2025-01-10 15:47:30