Closed mbedna closed 10 years ago
Looks to be a Guzzle question not a bundle one. Try their mailing list (https://groups.google.com/forum/?fromgroups#!forum/guzzle).
@thewilkybarkid I got answer on guzzle forum that guzzle will not support passing parameters in other way and than associative array: https://groups.google.com/forum/?fromgroups#!topic/guzzle/ul2Vz1HD_kE Guzzle-bundle is wrapper for guzzle so do you think it will be beneficial to have such functionality built in it?
The bundle only integrates Guzzle into your application, it's not going to change its API.
In examples when there is a need to pass parameter to method associative array has to be created, for example:
$client = self::getClient('Basic'); $command = $client->getCommand('GetPerson', array('id' => 1));
Is it possilble with misd guzzle bundle to pass parameter directly without creating associative array? Example:
$client = self::getClient('Basic'); $command = $client->getCommand('GetPerson', 1);