before()
before(\Guzzle\Service\Command\CommandInterface $command, array $result)
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
\Guzzle\Service\Command\CommandInterface | $command | Command being visited |
array | $result | Result value to update if needed (e.g. parsing XML or JSON) |