MorphMany::__call()
  • References/PHP/Laravel/Database/Eloquent/Relations

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

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

Model|

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

int rawUpdate(array $attributes = array()) Run a raw update against the

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

string getMorphClass() Get the class name for polymorphic relations.

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

string getForeignKey() Get the foreign key for the relationship.

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

mixed getParentKey() Get the key value of the parent's local key.

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

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

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

static void unsetConnectionResolver() Unset the connection resolver

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

static mixed noConstraints(Closure $callback)

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

mixed getResults() Get the results of the relationship.

2025-01-10 15:47:30