platform/api/laravel/Database/Eloquent/HasBuilder.yaml

123 lines
2.3 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: HasBuilder
class_comment: null
dependencies: []
properties: []
methods:
- name: query
visibility: public
parameters: []
comment: '# * @template TBuilder of \Illuminate\Database\Eloquent\Builder
# */
# trait HasBuilder
# {
# /**
# * Begin querying the model.
# *
# * @return TBuilder'
- name: newEloquentBuilder
visibility: public
parameters:
- name: query
comment: '# * Create a new Eloquent query builder for the model.
# *
# * @param \Illuminate\Database\Query\Builder $query
# * @return TBuilder'
- name: newQuery
visibility: public
parameters: []
comment: '# * Get a new query builder for the model''s table.
# *
# * @return TBuilder'
- name: newModelQuery
visibility: public
parameters: []
comment: '# * Get a new query builder that doesn''t have any global scopes or eager
loading.
# *
# * @return TBuilder'
- name: newQueryWithoutRelationships
visibility: public
parameters: []
comment: '# * Get a new query builder with no relationships loaded.
# *
# * @return TBuilder'
- name: newQueryWithoutScopes
visibility: public
parameters: []
comment: '# * Get a new query builder that doesn''t have any global scopes.
# *
# * @return TBuilder'
- name: newQueryWithoutScope
visibility: public
parameters:
- name: scope
comment: '# * Get a new query instance without a given scope.
# *
# * @param \Illuminate\Database\Eloquent\Scope|string $scope
# * @return TBuilder'
- name: newQueryForRestoration
visibility: public
parameters:
- name: ids
comment: '# * Get a new query to restore one or more models by their queueable IDs.
# *
# * @param array|int $ids
# * @return TBuilder'
- name: 'on'
visibility: public
parameters:
- name: connection
default: 'null'
comment: '# * Begin querying the model on a given connection.
# *
# * @param string|null $connection
# * @return TBuilder'
- name: onWriteConnection
visibility: public
parameters: []
comment: '# * Begin querying the model on the write connection.
# *
# * @return TBuilder'
- name: with
visibility: public
parameters:
- name: relations
comment: '# * Begin querying a model with eager loading.
# *
# * @param array|string $relations
# * @return TBuilder'
traits: []
interfaces: []