class Client

Properties

protected Container $container
protected ErrorHandler $errorHandler

Methods

__construct(Container $container, ErrorHandler $errorHandler)

No description

ResponseInterface
send(string|ControllerInterface $controller, User $actor, array $queryParams = [], array $body = [])

<p>Execute the given API action class, pass the input and return its response.</p>

Details

__construct(Container $container, ErrorHandler $errorHandler)

Parameters

Container $container
ErrorHandler $errorHandler

ResponseInterface send(string|ControllerInterface $controller, User $actor, array $queryParams = [], array $body = [])

<p>Execute the given API action class, pass the input and return its response.</p>

Parameters

string|ControllerInterface $controller
User $actor
array $queryParams
array $body

Return Value

ResponseInterface