Documentation

UserController extends Controller
in package

Table of Contents

$accountService  : AccountService
$userService  : UserService
__construct()  : mixed
getAccounts()  : AccountResourceCollection|JsonResponse
index()  : UserResourceCollection|JsonResponse
show()  : UserResource
Display the specified user.

Properties

Methods

show()

Display the specified user.

public show(int|string $idOrEmail) : UserResource
Parameters
$idOrEmail : int|string

the field to search for

Return values
UserResource

the account resource

Search results