MorphPivot::forceFill()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this forceFill(array $attributes) Fill the model with an array of attributes

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

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

2025-01-10 15:47:30
Model::isFillable()
  • References/PHP/Laravel/Database/Eloquent

bool isFillable(string $key) Determine if the given attribute may be mass

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

$this append(array|string $attributes) Append attributes to query when

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

string freshTimestampString() Get a fresh timestamp for the model.

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

void addObservableEvents(array|mixed $observables) Add an observable event

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

static bool hasGlobalScope(Scope|string $scope)

2025-01-10 15:47:30
Model::observe()
  • References/PHP/Laravel/Database/Eloquent

static void observe(object|string $class, int $priority) Register

2025-01-10 15:47:30
Model::__toString()
  • References/PHP/Laravel/Database/Eloquent

string __toString() Convert the model to its string representation.

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

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

2025-01-10 15:47:30