87 lines
1.9 KiB
YAML
87 lines
1.9 KiB
YAML
name: SeederMakeCommand
|
|
class_comment: null
|
|
dependencies:
|
|
- name: GeneratorCommand
|
|
type: class
|
|
source: Illuminate\Console\GeneratorCommand
|
|
- name: Str
|
|
type: class
|
|
source: Illuminate\Support\Str
|
|
- name: AsCommand
|
|
type: class
|
|
source: Symfony\Component\Console\Attribute\AsCommand
|
|
properties:
|
|
- name: name
|
|
visibility: protected
|
|
comment: '# * The console command name.
|
|
|
|
# *
|
|
|
|
# * @var string'
|
|
- name: description
|
|
visibility: protected
|
|
comment: '# * The console command description.
|
|
|
|
# *
|
|
|
|
# * @var string'
|
|
- name: type
|
|
visibility: protected
|
|
comment: '# * The type of class being generated.
|
|
|
|
# *
|
|
|
|
# * @var string'
|
|
methods:
|
|
- name: handle
|
|
visibility: public
|
|
parameters: []
|
|
comment: "# * The console command name.\n# *\n# * @var string\n# */\n# protected\
|
|
\ $name = 'make:seeder';\n# \n# /**\n# * The console command description.\n# *\n\
|
|
# * @var string\n# */\n# protected $description = 'Create a new seeder class';\n\
|
|
# \n# /**\n# * The type of class being generated.\n# *\n# * @var string\n# */\n\
|
|
# protected $type = 'Seeder';\n# \n# /**\n# * Execute the console command.\n#\
|
|
\ *\n# * @return void"
|
|
- name: getStub
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Get the stub file for the generator.
|
|
|
|
# *
|
|
|
|
# * @return string'
|
|
- name: resolveStubPath
|
|
visibility: protected
|
|
parameters:
|
|
- name: stub
|
|
comment: '# * Resolve the fully-qualified path to the stub.
|
|
|
|
# *
|
|
|
|
# * @param string $stub
|
|
|
|
# * @return string'
|
|
- name: getPath
|
|
visibility: protected
|
|
parameters:
|
|
- name: name
|
|
comment: '# * Get the destination class path.
|
|
|
|
# *
|
|
|
|
# * @param string $name
|
|
|
|
# * @return string'
|
|
- name: rootNamespace
|
|
visibility: protected
|
|
parameters: []
|
|
comment: '# * Get the root namespace for the class.
|
|
|
|
# *
|
|
|
|
# * @return string'
|
|
traits:
|
|
- Illuminate\Console\GeneratorCommand
|
|
- Illuminate\Support\Str
|
|
- Symfony\Component\Console\Attribute\AsCommand
|
|
interfaces: []
|