QueriesRelationships
Illuminate\Database\Eloquent\Concerns\QueriesRelationships
trait src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php
doesntHave
v11.0.0 以前から
doesntHave($relation, $boolean = 'and', ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param string $boolean
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
doesntHave($relation, $boolean = 'and', Closure $callback = null) [@param string $relation, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
doesntHave($relation, $boolean = 'and', Closure $callback = null) [@param string $relation, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
doesntHave($relation, $boolean = 'and', ?Closure $callback = null) [@param string $relation, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
doesntHave($relation, $boolean = 'and', ?Closure $callback = null) [@param string $relation, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
doesntHave($relation, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $boolean, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
doesntHave($relation, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $boolean, @param \Closure|null $callback, @return $this]- 変更後
doesntHave($relation, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @return $this]
doesntHaveMorph
v11.0.0 以前から
doesntHaveMorph($relation, $types, $boolean = 'and', ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param string $boolean
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
doesntHaveMorph($relation, $types, $boolean = 'and', Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
doesntHaveMorph($relation, $types, $boolean = 'and', Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
doesntHaveMorph($relation, $types, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
doesntHaveMorph($relation, $types, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
doesntHaveMorph($relation, $types, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param string $boolean, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
doesntHaveMorph($relation, $types, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param string $boolean, @param \Closure|null $callback, @return $this]- 変更後
doesntHaveMorph($relation, $types, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @return $this]
has
v11.0.0 以前から
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@param string $boolean
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
has($relation, $operator = '>=', $count = 1, $boolean = 'and', Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation|string $relation, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
has($relation, $operator = '>=', $count = 1, $boolean = 'and', Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation|string $relation, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation|string $relation, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation|string $relation, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return $this]- 変更後
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param string $operator, @param int $count, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param string $operator, @param int $count, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @return $this]- 変更後
has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @return $this]
hasMorph
v11.0.0 以前から
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@param string $boolean
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param string $operator, @param int $count, @param string $boolean, @param \Closure|null $callback, @return $this]- 変更後
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param string $operator, @param int $count, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param string $operator, @param int $count, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @return $this]- 変更後
hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @param string $boolean, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @return $this]
mergeConstraintsFrom
v11.0.0 以前から
mergeConstraintsFrom(Illuminate\Database\Eloquent\Builder $from)
@param \Illuminate\Database\Eloquent\Builder<*> $from
@return $this
-
v11.0.0
追加
- 変更後
mergeConstraintsFrom(Illuminate\Database\Eloquent\Builder $from) [@param \Illuminate\Database\Eloquent\Builder $from, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
mergeConstraintsFrom(Illuminate\Database\Eloquent\Builder $from) [@param \Illuminate\Database\Eloquent\Builder $from, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
mergeConstraintsFrom(Illuminate\Database\Eloquent\Builder $from) [@param \Illuminate\Database\Eloquent\Builder<*> $from, @return $this]
orDoesntHave
v11.0.0 以前から
orDoesntHave($relation)
@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation
@return $this
-
v11.0.0
追加
- 変更後
orDoesntHave($relation) [@param string $relation, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orDoesntHave($relation) [@param string $relation, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orDoesntHave($relation) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @return $this]
orDoesntHaveMorph
v11.0.0 以前から
orDoesntHaveMorph($relation, $types)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
@param string|array<int, string> $types
@return $this
-
v11.0.0
追加
- 変更後
orDoesntHaveMorph($relation, $types) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orDoesntHaveMorph($relation, $types) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orDoesntHaveMorph($relation, $types) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orDoesntHaveMorph($relation, $types) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @return $this]- 変更後
orDoesntHaveMorph($relation, $types) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array<int, string> $types, @return $this]
orHas
v11.0.0 以前から
orHas($relation, $operator = '>=', $count = 1)
@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
orHas($relation, $operator = '>=', $count = 1) [@param string $relation, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orHas($relation, $operator = '>=', $count = 1) [@param string $relation, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orHas($relation, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
orHas($relation, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $operator, @param int $count, @return $this]- 変更後
orHas($relation, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
orHasMorph
v11.0.0 以前から
orHasMorph($relation, $types, $operator = '>=', $count = 1)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
@param string|array<int, string> $types
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param string $operator, @param int $count, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param string $operator, @param int $count, @return $this]- 変更後
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array<int, string> $types, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array<int, string> $types, @param string $operator, @param int $count, @return $this]- 変更後
orHasMorph($relation, $types, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array<int, string> $types, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
orWhereAttachedTo
v12.7.0 から
orWhereAttachedTo($related, $relationshipName = null)
@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related
@param string|null $relationshipName
@return $this
-
v12.7.0
追加
- 変更後
orWhereAttachedTo($related, $relationshipName = null) [@param \Illuminate\Database\Eloquent\Model $related, @param string|null $relationshipName, @return $this]
-
v13.37.0
シグネチャ変更
- 変更前
orWhereAttachedTo($related, $relationshipName = null) [@param \Illuminate\Database\Eloquent\Model $related, @param string|null $relationshipName, @return $this]- 変更後
orWhereAttachedTo($related, $relationshipName = null) [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @return $this]
orWhereBelongsTo
v11.0.0 以前から
orWhereBelongsTo($related, $relationshipName = null)
@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related
@param string|null $relationshipName
@return $this
-
v11.0.0
追加
- 変更後
orWhereBelongsTo($related, $relationshipName = null) [@param \Illuminate\Database\Eloquent\Model $related, @param string|null $relationshipName, @return $this]
-
v13.37.0
シグネチャ変更
- 変更前
orWhereBelongsTo($related, $relationshipName = null) [@param \Illuminate\Database\Eloquent\Model $related, @param string|null $relationshipName, @return $this]- 変更後
orWhereBelongsTo($related, $relationshipName = null) [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @return $this]
orWhereDoesntHave
v11.0.0 以前から
orWhereDoesntHave($relation, ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
orWhereDoesntHave($relation, Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
orWhereDoesntHave($relation, Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereDoesntHave($relation, ?Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereDoesntHave($relation, ?Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereDoesntHave($relation, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereDoesntHave($relation, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @return $this]- 変更後
orWhereDoesntHave($relation, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @return $this]
orWhereDoesntHaveMorph
v11.0.0 以前から
orWhereDoesntHaveMorph($relation, $types, ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
orWhereDoesntHaveMorph($relation, $types, Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
orWhereDoesntHaveMorph($relation, $types, Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @return $this]- 変更後
orWhereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @return $this]
orWhereDoesntHaveRelation
v11.37.0 から
orWhereDoesntHaveRelation($relation, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.37.0
追加
- 変更後
orWhereDoesntHaveRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereDoesntHaveRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
orWhereDoesntHaveRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
orWhereHas
v11.0.0 以前から
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
orWhereHas($relation, Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
orWhereHas($relation, Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
orWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
orWhereHasMorph
v11.0.0 以前から
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
orWhereHasMorph($relation, $types, Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
orWhereHasMorph($relation, $types, Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, array> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param int $count, @return $this]
-
v11.43.0
シグネチャ変更
- 変更前
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, array> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
orWhereMorphDoesntHaveRelation
v11.37.0 から
orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.37.0
追加
- 変更後
orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
orWhereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
orWhereMorphedTo
v11.0.0 以前から
orWhereMorphedTo($relation, $model)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
@param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string|null $model
@return $this
-
v11.0.0
追加
- 変更後
orWhereMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return $this]
-
v11.40.0
シグネチャ変更
- 変更前
orWhereMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return $this]- 変更後
orWhereMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string|null $model, @return $this]
orWhereMorphRelation
v11.0.0 以前から
orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.0.0
追加
- 変更後
orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
orWhereNotMorphedTo
v11.0.0 以前から
orWhereNotMorphedTo($relation, $model)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
@param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string $model
@return $this
-
v11.0.0
追加
- 変更後
orWhereNotMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereNotMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereNotMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return $this]
-
v11.40.0
シグネチャ変更
- 変更前
orWhereNotMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return $this]- 変更後
orWhereNotMorphedTo($relation, $model) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string $model, @return $this]
orWhereRelation
v11.0.0 以前から
orWhereRelation($relation, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.0.0
追加
- 変更後
orWhereRelation($relation, $column, $operator = null, $value = null) [@param string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
orWhereRelation($relation, $column, $operator = null, $value = null) [@param string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
orWhereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
orWhereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
orWhereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
whereAttachedTo
v12.7.0 から
whereAttachedTo($related, $relationshipName = null, $boolean = 'and')
@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related
@param string|null $relationshipName
@param string $boolean
@return $this
-
v12.7.0
追加
- 変更後
whereAttachedTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]
-
v13.37.0
シグネチャ変更
- 変更前
whereAttachedTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]- 変更後
whereAttachedTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]
whereBelongsTo
v11.0.0 以前から
whereBelongsTo($related, $relationshipName = null, $boolean = 'and')
@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related
@param string|null $relationshipName
@param string $boolean
@return $this
-
v11.0.0
追加
- 変更後
whereBelongsTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<\Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]
-
v11.15.0
シグネチャ変更
- 変更前
whereBelongsTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<\Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]- 変更後
whereBelongsTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]
-
v13.37.0
シグネチャ変更
- 変更前
whereBelongsTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]- 変更後
whereBelongsTo($related, $relationshipName = null, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<int, covariant \Illuminate\Database\Eloquent\Model> $related, @param string|null $relationshipName, @param string $boolean, @return $this]
whereDoesntHave
v11.0.0 以前から
whereDoesntHave($relation, ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
whereDoesntHave($relation, Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
whereDoesntHave($relation, Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereDoesntHave($relation, ?Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereDoesntHave($relation, ?Closure $callback = null) [@param string $relation, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereDoesntHave($relation, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereDoesntHave($relation, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @return $this]- 変更後
whereDoesntHave($relation, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @return $this]
whereDoesntHaveMorph
v11.0.0 以前から
whereDoesntHaveMorph($relation, $types, ?Closure $callback = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
@return $this
-
v11.0.0
追加
- 変更後
whereDoesntHaveMorph($relation, $types, Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
whereDoesntHaveMorph($relation, $types, Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @return $this]- 変更後
whereDoesntHaveMorph($relation, $types, ?Closure $callback = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @return $this]
whereDoesntHaveRelation
v11.37.0 から
whereDoesntHaveRelation($relation, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.37.0
追加
- 変更後
whereDoesntHaveRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereDoesntHaveRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
whereDoesntHaveRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
whereHas
v11.0.0 以前から
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
whereHas($relation, Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
whereHas($relation, Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
whereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|null $callback, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
whereHasMorph
v11.0.0 以前から
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
whereHasMorph($relation, $types, Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
whereHasMorph($relation, $types, Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
whereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
whereMorphDoesntHaveRelation
v11.37.0 から
whereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.37.0
追加
- 変更後
whereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
whereMorphDoesntHaveRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
whereMorphedTo
v11.0.0 以前から
whereMorphedTo($relation, $model, $boolean = 'and')
@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
@param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string|null $model
@return $this
-
v11.0.0
追加
- 変更後
whereMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return $this]
-
v11.40.0
シグネチャ変更
- 変更前
whereMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string|null $model, @return $this]- 変更後
whereMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string|null $model, @return $this]
whereMorphRelation
v11.0.0 以前から
whereMorphRelation($relation, $types, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
@param string|array<int, string> $types
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.0.0
追加
- 変更後
whereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param string|array $types, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
whereMorphRelation($relation, $types, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation, @param string|array<int, string> $types, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
whereNotMorphedTo
v11.0.0 以前から
whereNotMorphedTo($relation, $model, $boolean = 'and')
@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation
@param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string $model
@return $this
-
v11.0.0
追加
- 変更後
whereNotMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereNotMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereNotMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return $this]
-
v11.40.0
シグネチャ変更
- 変更前
whereNotMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|string $model, @return $this]- 変更後
whereNotMorphedTo($relation, $model, $boolean = 'and') [@param \Illuminate\Database\Eloquent\Relations\MorphTo<*, *>|string $relation, @param \Illuminate\Database\Eloquent\Model|iterable<int, \Illuminate\Database\Eloquent\Model>|string $model, @return $this]
whereRelation
v11.0.0 以前から
whereRelation($relation, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.0.0
追加
- 変更後
whereRelation($relation, $column, $operator = null, $value = null) [@param string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
whereRelation($relation, $column, $operator = null, $value = null) [@param string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
whereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
whereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]- 変更後
whereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<TRelatedModel, *, *>|string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>): mixed)|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]
withAggregate
v11.0.0 以前から
withAggregate($relations, $column, $function = null)
@param mixed $relations
@param \Illuminate\Contracts\Database\Query\Expression|string $column
@param string|null $function
@return $this
-
v11.0.0
追加
- 変更後
withAggregate($relations, $column, $function = null) [@param mixed $relations, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @param string $function, @return $this]
-
v12.29.0
シグネチャ変更
- 変更前
withAggregate($relations, $column, $function = null) [@param mixed $relations, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @param string $function, @return $this]- 変更後
withAggregate($relations, $column, $function = null) [@param mixed $relations, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @param string|null $function, @return $this]
withAvg
v11.0.0 以前から
withAvg($relation, $column)
@param string|array $relation
@param \Illuminate\Contracts\Database\Query\Expression|string $column
@return $this
-
v11.0.0
追加
- 変更後
withAvg($relation, $column) [@param string|array $relation, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @return $this]
withCount
v11.0.0 以前から
withCount($relations)
@param mixed $relations
@return $this
-
v11.0.0
追加
- 変更後
withCount($relations) [@param mixed $relations, @return $this]
withExists
v11.0.0 以前から
withExists($relation)
@param string|array $relation
@return $this
-
v11.0.0
追加
- 変更後
withExists($relation) [@param string|array $relation, @return $this]
withMax
v11.0.0 以前から
withMax($relation, $column)
@param string|array $relation
@param \Illuminate\Contracts\Database\Query\Expression|string $column
@return $this
-
v11.0.0
追加
- 変更後
withMax($relation, $column) [@param string|array $relation, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @return $this]
withMin
v11.0.0 以前から
withMin($relation, $column)
@param string|array $relation
@param \Illuminate\Contracts\Database\Query\Expression|string $column
@return $this
-
v11.0.0
追加
- 変更後
withMin($relation, $column) [@param string|array $relation, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @return $this]
withSum
v11.0.0 以前から
withSum($relation, $column)
@param string|array $relation
@param \Illuminate\Contracts\Database\Query\Expression|string $column
@return $this
-
v11.0.0
追加
- 変更後
withSum($relation, $column) [@param string|array $relation, @param \Illuminate\Contracts\Database\Query\Expression|string $column, @return $this]
withWhereHas
v11.0.0 以前から
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1)
@param string $relation
@param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback
@param string $operator
@param \Illuminate\Contracts\Database\Query\Expression|int $count
@return $this
-
v11.0.0
追加
- 変更後
withWhereHas($relation, Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.3.0
シグネチャ変更
- 変更前
withWhereHas($relation, Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]
-
v11.15.0
シグネチャ変更
- 変更前
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return \Illuminate\Database\Eloquent\Builder|static]- 変更後
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]
-
v11.42.0
シグネチャ変更
- 変更前
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback, @param string $operator, @param int $count, @return $this]
-
v12.40.0
シグネチャ変更
- 変更前
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback, @param string $operator, @param int $count, @return $this]- 変更後
withWhereHas($relation, ?Closure $callback = null, $operator = '>=', $count = 1) [@param string $relation, @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback, @param string $operator, @param \Illuminate\Contracts\Database\Query\Expression|int $count, @return $this]
withWhereRelation
v11.43.0 から
withWhereRelation($relation, $column, $operator = null, $value = null)
@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation
@param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column
@param mixed $operator
@param mixed $value
@return $this
-
v11.43.0
追加
- 変更後
withWhereRelation($relation, $column, $operator = null, $value = null) [@param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation, @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column, @param mixed $operator, @param mixed $value, @return $this]