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

bool save(array $options = array()) Save the model to the database.

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

bool usesTimestamps() Determine if the model uses timestamps.

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

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

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

$this fillable(array $fillable) Set the fillable attributes for the model

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

int update(array $attributes) Perform an update on all the related models

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

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

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

Model getParent()

2025-01-10 15:47:30
MorphTo::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
Pivot::on()
  • References/PHP/Laravel/Database/Eloquent/Relations

static Builder on(string|null $connection =

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

void touch() Touch all of the related models for the relationship.

2025-01-10 15:47:30