platform/api/laravel/Database/Console/Seeds/SeedCommand.yaml

111 lines
2.8 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: SeedCommand
class_comment: null
dependencies:
- name: Command
type: class
source: Illuminate\Console\Command
- name: ConfirmableTrait
type: class
source: Illuminate\Console\ConfirmableTrait
- name: Resolver
type: class
source: Illuminate\Database\ConnectionResolverInterface
- name: Model
type: class
source: Illuminate\Database\Eloquent\Model
- name: AsCommand
type: class
source: Symfony\Component\Console\Attribute\AsCommand
- name: InputArgument
type: class
source: Symfony\Component\Console\Input\InputArgument
- 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: resolver
visibility: protected
comment: '# * The connection resolver instance.
# *
# * @var \Illuminate\Database\ConnectionResolverInterface'
methods:
- name: __construct
visibility: public
parameters:
- name: resolver
comment: "# * The console command name.\n# *\n# * @var string\n# */\n# protected\
\ $name = 'db:seed';\n# \n# /**\n# * The console command description.\n# *\n#\
\ * @var string\n# */\n# protected $description = 'Seed the database with records';\n\
# \n# /**\n# * The connection resolver instance.\n# *\n# * @var \\Illuminate\\\
Database\\ConnectionResolverInterface\n# */\n# protected $resolver;\n# \n# /**\n\
# * Create a new database seed command instance.\n# *\n# * @param \\Illuminate\\\
Database\\ConnectionResolverInterface $resolver\n# * @return void"
- name: handle
visibility: public
parameters: []
comment: '# * Execute the console command.
# *
# * @return int'
- name: getSeeder
visibility: protected
parameters: []
comment: '# * Get a seeder instance from the container.
# *
# * @return \Illuminate\Database\Seeder'
- name: getDatabase
visibility: protected
parameters: []
comment: '# * Get the name of the database connection to use.
# *
# * @return string'
- name: getArguments
visibility: protected
parameters: []
comment: '# * Get the console command arguments.
# *
# * @return array'
- name: getOptions
visibility: protected
parameters: []
comment: '# * Get the console command options.
# *
# * @return array'
traits:
- Illuminate\Console\Command
- Illuminate\Console\ConfirmableTrait
- Illuminate\Database\Eloquent\Model
- Symfony\Component\Console\Attribute\AsCommand
- Symfony\Component\Console\Input\InputArgument
- Symfony\Component\Console\Input\InputOption
- ConfirmableTrait
interfaces: []