class Illuminate / Database / Console / Seeds / SeederMakeCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

SeederMakeCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'make:seeder'
protected

$description string

The console command description.

Default: 'Create a new seeder class'
protected

$type string

The type of class being generated.

Default: 'Seeder'

Methods

public

handle ( ) : void

Execute the console command.

protected

getStub ( ) : string

Get the stub file for the generator.

protected

resolveStubPath ( $stub ) : string

Resolve the fully-qualified path to the stub.

Parameters

  • $stub string
protected

getPath ( $name ) : string

Get the destination class path.

Parameters

  • $name string
protected

qualifyClass ( $name ) : string

Parse the class name and format according to the root namespace.

Parameters

  • $name string