MorphTo::__construct()
  • References/PHP/Laravel/Database/Eloquent/Relations

void __construct(Builder $query,

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

$this setIncrementing(bool $value) Set whether IDs are incrementing.

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

$this setRelations(array $relations) Set the entire relations array on

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

mixed getAttributeValue(string $key) Get a plain attribute (not a relationship)

2025-01-10 15:47:30
SoftDeletingScope
  • References/PHP/Laravel/Database/Eloquent

SoftDeletingScope class SoftDeletingScope implements

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

void touch() Touch all of the related models for the relationship.

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

$this setDateFormat(string $format) Set the date format used by the model

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

array initRelation(array $models, string $relation) Initialize the relation

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

string getHasCompareKey() Get the key for comparing against the parent

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

Model firstOrNew(array $attributes)

2025-01-10 15:47:30