77 lines
2 KiB
YAML
77 lines
2 KiB
YAML
|
name: ResetCommand
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: ConfirmableTrait
|
||
|
type: class
|
||
|
source: Illuminate\Console\ConfirmableTrait
|
||
|
- name: Prohibitable
|
||
|
type: class
|
||
|
source: Illuminate\Console\Prohibitable
|
||
|
- name: Migrator
|
||
|
type: class
|
||
|
source: Illuminate\Database\Migrations\Migrator
|
||
|
- name: AsCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Attribute\AsCommand
|
||
|
- name: InputOption
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputOption
|
||
|
properties:
|
||
|
- name: name
|
||
|
visibility: protected
|
||
|
comment: '# * The console command name.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: description
|
||
|
visibility: protected
|
||
|
comment: '# * The console command description.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: migrator
|
||
|
visibility: protected
|
||
|
comment: '# * The migrator instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Illuminate\Database\Migrations\Migrator'
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: migrator
|
||
|
comment: "# * The console command name.\n# *\n# * @var string\n# */\n# protected\
|
||
|
\ $name = 'migrate:reset';\n# \n# /**\n# * The console command description.\n\
|
||
|
# *\n# * @var string\n# */\n# protected $description = 'Rollback all database\
|
||
|
\ migrations';\n# \n# /**\n# * The migrator instance.\n# *\n# * @var \\Illuminate\\\
|
||
|
Database\\Migrations\\Migrator\n# */\n# protected $migrator;\n# \n# /**\n# * Create\
|
||
|
\ a new migration rollback command instance.\n# *\n# * @param \\Illuminate\\\
|
||
|
Database\\Migrations\\Migrator $migrator\n# * @return void"
|
||
|
- name: handle
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Execute the console command.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return int'
|
||
|
- name: getOptions
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Get the console command options.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return array'
|
||
|
traits:
|
||
|
- Illuminate\Console\ConfirmableTrait
|
||
|
- Illuminate\Console\Prohibitable
|
||
|
- Illuminate\Database\Migrations\Migrator
|
||
|
- Symfony\Component\Console\Attribute\AsCommand
|
||
|
- Symfony\Component\Console\Input\InputOption
|
||
|
- ConfirmableTrait
|
||
|
interfaces: []
|