class Client
Properties
| protected User|null | $actor |
|
||
| protected ServerRequestInterface|null | $parent |
|
||
| protected array | $queryParams |
|
||
| protected array | $body |
|
||
| protected bool | $errorHandling |
|
Methods
ResponseInterface
send(string $method, string $path)
Execute the given API action class, pass the input and return its response.
Details
at
line 27
__construct(ClientMiddlewarePipe $pipe)
at
line 37
Client
withActor(User $actor)
Set the request actor.
This is not needed if a parent request is provided. It can, however, override the parent request's actor.
at
line 85
ResponseInterface
get(string $path)
at
line 90
ResponseInterface
post(string $path)
at
line 95
ResponseInterface
put(string $path)
at
line 100
ResponseInterface
patch(string $path)
at
line 105
ResponseInterface
delete(string $path)
at
line 115
ResponseInterface
send(string $method, string $path)
Execute the given API action class, pass the input and return its response.