• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/controller/base.php
  • Класс: BitrixRpaControllerBase
  • Вызов: Base::removeDotsFromKeys
protected function removeDotsFromKeys(array $data): array
{
	$result = [];

	foreach ($data as $name => $value)
	{
		if (is_array($value))
		{
			$value = $this->removeDotsFromKeys($value);
		}
		$result[str_replace('.', '', $name)] = $value;
	}

	return $result;
}