private function generateAllPossibleCombinations(array $combinations, array &$clients)
{
if ($combinations) {
for ($i = 0; $i < count($combinations[0]); ++$i) {
$temp = $combinations;
$this->dependencyGraph[$this->pos] = $combinations[0][$i];
array_shift($temp);
$this->pos++;
$this->generateAllPossibleCombinations($temp, $clients);
}
} else {
$client = new fXmlRpc\Client(static::$endpoint, $this->dependencyGraph[0], $this->dependencyGraph[1], $this->dependencyGraph[2]);
if (isset($this->dependencyGraph[3])) {
$client = new \fXmlRpc\Timing\TimingDecorator($client, $this->dependencyGraph[3]);
}
$clients[] = array($client, $this->dependencyGraph[0], $this->dependencyGraph[1], $this->dependencyGraph[2]);
}
$this->pos--;
}