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

bool|null forceDelete() Force a hard delete on a soft deleted model.

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

$this setDateFormat(string $format) Set the date format used by 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
MorphToMany::attach()
  • References/PHP/Laravel/Database/Eloquent/Relations

void attach(mixed $id, array $attributes = array(), bool $touch = true) Attach

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

string getPlainMorphType() Get the plain morph type name without the table

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

string getMorphType() Get the foreign key "type" name.

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

static Connection resolveConnection(string|null $connection

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

mixed __call(string $method, array $parameters) Handle dynamic method calls

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

string toJson(int $options) Convert the model instance to JSON.

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

static mixed unguarded(callable $callback) Run the given callable

2025-01-10 15:47:30