52 lines
965 B
YAML
52 lines
965 B
YAML
|
name: Prunable
|
||
|
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>'
|
||
|
- name: prune
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Prune the model in the database.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return bool|null'
|
||
|
- name: pruning
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Prepare the model for pruning.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return void'
|
||
|
traits:
|
||
|
- Illuminate\Database\Events\ModelsPruned
|
||
|
- LogicException
|
||
|
interfaces: []
|