class Illuminate / Foundation / Console / ScopeMakeCommand

ScopeMakeCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'make:scope'
protected

$description string

The console command description.

Default: 'Create a new scope class'
protected

$type string

The type of class being generated.

Default: 'Scope'

Methods

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

getDefaultNamespace ( $rootNamespace ) : string

Get the default namespace for the class.

Parameters

  • $rootNamespace string
protected

getOptions ( ) : array

Get the console command arguments.