class RequestAutoPopulationMiddleware implements MiddlewareInterface (View source)

internal  
 

Middleware that adds autopopulation functionality. This middlware is added iff auto population settings are present in the resource descriptor config for the rpc method in context.

Methods

__construct(callable $nextHandler, array $autoPopulationSettings)

No description

__invoke(Call $call, array $options)

No description

Details

__construct(callable $nextHandler, array $autoPopulationSettings)

No description

Parameters

callable $nextHandler
array $autoPopulationSettings

PromiseInterface|ClientStream|ServerStream|BidiStream __invoke(Call $call, array $options)

No description

Parameters

Call $call
array $options

Return Value

PromiseInterface|ClientStream|ServerStream|BidiStream