public final function getArray()
{
$res = $this->getArrayInternal();
if (!$this->isArray($res) && !$this->isArrayObject($res)) {
$errorMessage = 'AbstractDriver method _getArray() must return array or ArrayObject.';
$errorMessage .= ' Make sure you have provided a valid config file path with file extension.';
throw new ConfigException($errorMessage);
}
return StdObjectWrapper::toArray($res);
}