\App\ControllersTest

控制器级别的路由注解(可选,用于添加路径前缀).

Summary

Methods
Properties
Constants
circuitAction()
healthyAction()
index()
edit()
sayHello()
getUser()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

circuitAction()

circuitAction() : \Symfony\Component\HttpFoundation\Response

Returns

\Symfony\Component\HttpFoundation\Response —

healthyAction()

healthyAction() : \Symfony\Component\HttpFoundation\Response

首页路由(匹配 GET /test).

Returns

\Symfony\Component\HttpFoundation\Response —

index()

index() : mixed

首页路由(匹配 GET /test).

Returns

mixed —

edit()

edit(int  $id) : mixed

Parameters

int $id

Returns

mixed —

sayHello()

sayHello(mixed  $name) : mixed

Parameters

mixed $name

Returns

mixed —

getUser()

getUser(mixed  $id) : mixed

Parameters

mixed $id

Returns

mixed —