protected function encodeUrlParameterBlock(array $configurationArray)
{
$segments = array();
if ($this->hasUrlParameters($configurationArray)) {
$previousValue = '';
foreach ($configurationArray as $configuration) {
// Technically it must always be array!
$this->encodeSingleVariable($configuration, $previousValue, $segments);
}
}
$this->checkForAllEmptySegments($segments);
$this->fixEmptySegments($segments);
return $segments;
}