|
Lumen 快速开发工具包
v1.2.2
|
Public 成员函数 | |
| __construct ($name, $files=null) | |
| create ($controller_name) | |
| getPath ($name) | |
Protected 成员函数 | |
| getNamespace ($name) | |
| populateStub ($name, $stub, $controller_name) | |
Protected 属性 | |
| $name | |
| $files | |
| __construct | ( | $name, | |
$files = null |
|||
| ) |
ControllerCreator constructor.
| string | $name | |
| null | $files |
| create | ( | $controller_name | ) |
|
protected |
Get controller namespace from giving name.
| string | $name |
被这些函数引用 RouteCreator\populateStub().

| getPath | ( | $name | ) |
Get file path from giving controller name.
| $name |
|
protected |
Populate stub.
| string | $name | |
| string | $stub | |
| string | $resource |
引用了 RouteCreator\getNamespace().
被这些函数引用 RouteCreator\create().

