76 lines
2 KiB
YAML
76 lines
2 KiB
YAML
|
name: RollbackCommand
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: ConfirmableTrait
|
||
|
type: class
|
||
|
source: Illuminate\Console\ConfirmableTrait
|
||
|
- 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
|
||
|
- name: ConfirmableTrait
|
||
|
type: class
|
||
|
source: ConfirmableTrait
|
||
|
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:rollback';\n# \n# /**\n# * The console command description.\n\
|
||
|
# *\n# * @var string\n# */\n# protected $description = 'Rollback the last database\
|
||
|
\ migration';\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\Database\Migrations\Migrator
|
||
|
- Symfony\Component\Console\Attribute\AsCommand
|
||
|
- Symfony\Component\Console\Input\InputOption
|
||
|
- ConfirmableTrait
|
||
|
interfaces: []
|