class Client
Properties
| protected MiddlewarePipeInterface | $pipe |
|
||
| protected User|null | $actor |
|
||
| protected ServerRequestInterface|null | $parent |
|
||
| protected array | $queryParams |
|
||
| protected array | $body |
|
Methods
ResponseInterface
send(string $method, string $path)
Execute the given API action class, pass the input and return its response.
Details
at
line 47
__construct(MiddlewarePipeInterface $pipe)
at
line 57
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 89
ResponseInterface
get(string $path)
at
line 94
ResponseInterface
post(string $path)
at
line 99
ResponseInterface
put(string $path)
at
line 104
ResponseInterface
patch(string $path)
at
line 109
ResponseInterface
delete(string $path)
at
line 123
ResponseInterface
send(string $method, string $path)
Execute the given API action class, pass the input and return its response.