\think\traceService

系统服务基础类

Summary

Methods
Properties
Constants
__construct()
register()
register()
boot()
No public properties found
No constants found
loadRoutesFrom()
registerRoutes()
commands()
$app
N/A
No private methods found
No private properties found
N/A

Properties

$app

$app : 

Type

Methods

__construct()

__construct(\think\App  $app) 

Parameters

\think\App $app

register()

register() 

register()

register() : void

boot()

boot() : void

loadRoutesFrom()

loadRoutesFrom(string  $path) 

加载路由

Parameters

string $path

路由路径

registerRoutes()

registerRoutes(\Closure  $closure) 

注册路由

Parameters

\Closure $closure

commands()

commands(array|string  $commands) 

添加指令

Parameters

array|string $commands

指令