class User

Properties

protected Client $api
protected UrlGenerator $url

Methods

__construct(Client $api, UrlGenerator $url)

No description

__invoke(Document $document, ServerRequestInterface $request)

No description

object
getApiDocument(User $actor, array $params)

Get the result of an API request to show a user.

Details

__construct(Client $api, UrlGenerator $url)

Parameters

Client $api
UrlGenerator $url

__invoke(Document $document, ServerRequestInterface $request)

Parameters

Document $document
ServerRequestInterface $request

protected object getApiDocument(User $actor, array $params)

Get the result of an API request to show a user.

Parameters

User $actor
array $params

Return Value

object

Exceptions

ModelNotFoundException