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)
<p>Execute the given API action class, pass the input and return its response.</p>
Details
at
line 47
__construct(MiddlewarePipeInterface $pipe)
at
line 57
Client
withActor(User $actor)
<p>Set the request actor.</p>
<p>This is not needed if a parent request is provided. It can, however, override the parent request's actor.</p>
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)
<p>Execute the given API action class, pass the input and return its response.</p>