\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

Methods

__construct()

__construct(\think\App  $app) : mixed

Parameters

\think\App $app

Returns

mixed —

register()

register() : mixed

Returns

mixed —

register()

register() : void

boot()

boot() : void

loadRoutesFrom()

loadRoutesFrom(string  $path) : mixed

加载路由

Parameters

string $path

路由路径

Returns

mixed —

registerRoutes()

registerRoutes(\Closure  $closure) : mixed

注册路由

Parameters

\Closure $closure

Returns

mixed —

commands()

commands(array|string  $commands) : mixed

添加指令

Parameters

array|string $commands

指令

Returns

mixed —