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

bool touch() Update the model's update timestamp.

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

mixed __get(string $key) Dynamically retrieve attributes on the model.

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

static void unguard(bool $state = true) Disable all mass assignable

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

$this load(array|string $relations) Eager load relations on the model.

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

static void reguard() Enable the mass assignment restrictions

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

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

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

mixed offsetGet(mixed $offset) Get the value for a given offset.

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

$this setRelation(string $relation, mixed $value) Set the specific relationship

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

mixed getAttribute(string $key) Get an attribute from the model.

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

Model replicate(array $except = null)

2025-01-10 15:47:30