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

static bool hasGlobalScope(

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

bool touches(string $relation) Determine if the model touches a given relation

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

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

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

HasOne hasOne(string $related, string

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

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

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

string getRouteKeyName() Get the route key for the model.

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

static Dispatcher getEventDispatcher()

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

array jsonSerialize() Convert the object into something JSON serializable

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

$this setPerPage(int $perPage) Set the number of models to return per page

2025-01-10 15:47:30