class ControllerMakeCommand extends ControllerMakeCommand

Methods

string
getStub()

Get the stub file for the generator.

string
resolveStubPath(string $stub)

Resolve the fully-qualified path to the stub.

string
buildClass(string $name)

Build the class with the given name.

array
buildCustomReplacements(array $replace)

Build the custom replacement values.

array
getOptions()

Get the console command options.

Details

at line 18
protected string getStub()

Get the stub file for the generator.

Return Value

string

at line 52
protected string resolveStubPath(string $stub)

Resolve the fully-qualified path to the stub.

Parameters

string $stub

Return Value

string

at line 71
protected string buildClass(string $name)

Build the class with the given name.

Remove the base controller import if we are already in base namespace.

Parameters

string $name

Return Value

string

at line 102
protected array buildCustomReplacements(array $replace)

Build the custom replacement values.

Parameters

array $replace

Return Value

array

at line 115
protected array getOptions()

Get the console command options.

Return Value

array