class Illuminate / Foundation / Console / TestMakeCommand

TestMakeCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'make:test'
protected

$description string

The console command description.

Default: 'Create a new test class'
protected

$type string

The type of class being generated.

Default: 'Test'

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

getPath ( $name ) : string

Get the destination class path.

Parameters

  • $name string
protected

getDefaultNamespace ( $rootNamespace ) : string

Get the default namespace for the class.

Parameters

  • $rootNamespace string
protected

rootNamespace ( ) : string

Get the root namespace for the class.

protected

getOptions ( ) : array

Get the console command options.

protected

afterPromptingForMissingArguments ( Symfony\...\InputInterface $input , Symfony\...\OutputInterface $output ) : void

Interact further with the user if they were prompted for missing arguments.

Parameters

  • $input Symfony\...\InputInterface
  • $output Symfony\...\OutputInterface