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

$this syncOriginal() Sync the original attributes with the current.

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

static void reguard() Enable the mass assignment restrictions

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

MorphToMany morphToMany(string

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

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

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

void addConstraints() Set the base constraints on the relation query.

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

string createdAt() Get the name of the "created at" column.

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

string getForeignKey() Get the fully qualified foreign key for the relation

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

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

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

$this setCreatedAt(mixed $value) Set the value of the "created at" attribute

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

string createdAt() Get the name of the "created at" column.

2025-01-10 15:47:30