public function __call($name, $arguments)
{
// Handle calls to legacy Get*Service() methods.
if (preg_match('/^Get(\\w+Service)$/i', $name, $matches)) {
$serviceName = $matches[1];
array_unshift($arguments, $serviceName);
return call_user_func_array(array($this, 'GetService'), $arguments);
}
}