class UserInfoController

Methods

__invoke()

获取当前登录用户信息.

array|string
find(string $git_type, string $username)

获取某个用户的信息.

Details

at line 19
__invoke()

获取当前登录用户信息.

/user

Exceptions

Exception

at line 35
array|string find(string $git_type, string $username)

获取某个用户的信息.

/user/{git_type}/{username}

Parameters

string $git_type
string $username

Return Value

array|string

Exceptions

Exception