You are here

public function BackupFile::getExt in Backup and Migrate 8.4

Get the full file extension.

For example: testfile.txt.gz would return: 'txt.gz'

Return value

mixed

Overrides BackupFileInterface::getExt

File

lib/backup_migrate_core/src/File/BackupFile.php, line 142

Class

BackupFile
Class BackupFile.

Namespace

BackupMigrate\Core\File

Code

public function getExt() {
  return implode('.', $this
    ->getExtList());
}