class Client
Properties
protected MiddlewarePipeInterface | $pipe | |||
protected User | $actor | |||
protected ServerRequestInterface | $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 51
__construct(MiddlewarePipeInterface $pipe)
at
line 61
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 93
ResponseInterface
get(string $path)
at
line 98
ResponseInterface
post(string $path)
at
line 103
ResponseInterface
put(string $path)
at
line 108
ResponseInterface
patch(string $path)
at
line 113
ResponseInterface
delete(string $path)
at
line 127
ResponseInterface
send(string $method, string $path)
<p>Execute the given API action class, pass the input and return its response.</p>