MorphOne::morphMap()
  • References/PHP/Laravel/Database/Eloquent/Relations

static array morphMap(array $map = null, bool $merge = true) Set

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

mixed first(array $columns = array('*')) Execute the query and get the

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

Model newFromBuilder(array $attributes = array(), string|null

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

string getTable() Get the table associated with the model.

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

bool __isset(string $key) Determine if an attribute or relation exists

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

abstract mixed getResults() Get the results of the relationship

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

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

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

Model save(

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

array createMany(array $records) Create an array of new instances of the

2025-01-10 15:47:30