FactoryBuilder
  • References/PHP/Laravel/Database/Eloquent

FactoryBuilder class FactoryBuilder (

2025-01-10 15:47:30
Collection::add()
  • References/PHP/Laravel/Database/Eloquent

$this add(mixed $item) Add an item to the collection.

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

bool|null delete() Delete the pivot model record from the database.

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

string joiningTable(string $related) Get the joining table name for a many-to-many

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

void __clone() Force a clone of the underlying query builder when cloning

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

void touchIfTouching() If we're touching the parent model, touch.

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

static void unguard(bool $state = true) Disable all mass assignable

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

array getMutatedAttributes() Get the mutated attributes for a given instance

2025-01-10 15:47:30
Collection::intersect()
  • References/PHP/Laravel/Database/Eloquent

Collection intersect(mixed $items)

2025-01-10 15:47:30