Pivot::isGuarded()
  • References/PHP/Laravel/Database/Eloquent/Relations

bool isGuarded(string $key) Determine if the given key is guarded.

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

static mixed noConstraints(Closure $callback)

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

$this setHidden(array $hidden) Set the hidden attributes for the model

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

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

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

array saveMany(Collection|array $models, array $joinings = array())

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

mixed getKey() Get the value of the model's primary key.

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

int getPerPage() Get the number of models to return per page.

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

void addEagerConstraints(array $models) Set the constraints for an eager

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

void addVisible(array|string|null $attributes = null) Add visible attributes

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

$this setTable(string $table) Set the table associated with the model.

2025-01-10 15:47:30