api/laravel/Database/Eloquent/MassPrunable.yaml
2024-09-26 02:03:21 -07:00

35 lines
695 B
YAML

name: MassPrunable
class_comment: null
dependencies:
- name: ModelsPruned
type: class
source: Illuminate\Database\Events\ModelsPruned
- name: LogicException
type: class
source: LogicException
properties: []
methods:
- name: pruneAll
visibility: public
parameters:
- name: chunkSize
default: '1000'
comment: '# * Prune all prunable models in the database.
# *
# * @param int $chunkSize
# * @return int'
- name: prunable
visibility: public
parameters: []
comment: '# * Get the prunable model query.
# *
# * @return \Illuminate\Database\Eloquent\Builder<static>'
traits:
- Illuminate\Database\Events\ModelsPruned
- LogicException
interfaces: []