before()
before(\GuzzleHttp\Command\ResultInterface $result, \Psr\Http\Message\ResponseInterface $response, \GuzzleHttp\Command\Guzzle\Parameter $model) : \GuzzleHttp\Command\ResultInterface
Called before visiting all parameters. This can be used for seeding the result of a command with default data (e.g. populating with JSON data in the response then adding to the parsed data).
Parameters
\GuzzleHttp\Command\ResultInterface | $result | Result being created |
\Psr\Http\Message\ResponseInterface | $response | Response being visited |
\GuzzleHttp\Command\Guzzle\Parameter | $model | Response model |
Returns
\GuzzleHttp\Command\ResultInterface —Modified result