\App\Console\CommandsMakeService

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
getStub()
getDefaultNamespace()
$name
$description
$type
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

The name and signature of the console command.

Type

string

$description

$description : string

The console command description.

Type

string

$type

$type : string

生成类的类型

Type

string

Methods

getStub()

getStub() : string

获取生成器的存根文件

Returns

string

getDefaultNamespace()

getDefaultNamespace(string  $rootNamespace) : string

获取类的默认命名空间

Parameters

string $rootNamespace

Returns

string