• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/volume/file.php
  • Класс: BitrixDiskVolumeFile
  • Вызов: File::getUpdateTime
static function getUpdateTime(VolumeFragment $fragment): ?BitrixMainTypeDateTime
{
	$file = $fragment->getFile();
	if (!$file instanceof DiskFile)
	{
		throw new ArgumentTypeException('Fragment must be subclass of '.DiskFile::className());
	}

	return $file->getUpdateTime();
}