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::saving()
  • References/PHP/Laravel/Database/Eloquent/Relations

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

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

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

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

static Collection hydrate(array $items

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

string getHasCompareKey() Get the key for comparing against the parent

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

void __construct(Builder $query,

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

string updatedAt() Get the name of the "updated at" column.

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

string updatedAt() Get the name of the "updated at" column.

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

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

2025-01-10 15:47:30