api/laravel/Database/Console/Migrations/InstallCommand.yaml
2024-09-26 02:03:21 -07:00

72 lines
2 KiB
YAML

name: InstallCommand
class_comment: null
dependencies:
- name: Command
type: class
source: Illuminate\Console\Command
- name: MigrationRepositoryInterface
type: class
source: Illuminate\Database\Migrations\MigrationRepositoryInterface
- 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: repository
visibility: protected
comment: '# * The repository instance.
# *
# * @var \Illuminate\Database\Migrations\MigrationRepositoryInterface'
methods:
- name: __construct
visibility: public
parameters:
- name: repository
comment: "# * The console command name.\n# *\n# * @var string\n# */\n# protected\
\ $name = 'migrate:install';\n# \n# /**\n# * The console command description.\n\
# *\n# * @var string\n# */\n# protected $description = 'Create the migration repository';\n\
# \n# /**\n# * The repository instance.\n# *\n# * @var \\Illuminate\\Database\\\
Migrations\\MigrationRepositoryInterface\n# */\n# protected $repository;\n# \n\
# /**\n# * Create a new migration install command instance.\n# *\n# * @param \
\ \\Illuminate\\Database\\Migrations\\MigrationRepositoryInterface $repository\n\
# * @return void"
- name: handle
visibility: public
parameters: []
comment: '# * Execute the console command.
# *
# * @return void'
- name: getOptions
visibility: protected
parameters: []
comment: '# * Get the console command options.
# *
# * @return array'
traits:
- Illuminate\Console\Command
- Illuminate\Database\Migrations\MigrationRepositoryInterface
- Symfony\Component\Console\Attribute\AsCommand
- Symfony\Component\Console\Input\InputOption
interfaces: []