You are here

public function BackupFileInterface::getExtLast in Backup and Migrate 8.4

Get the last file extension.

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

Return value

mixed

1 method overrides BackupFileInterface::getExtLast()
BackupFile::getExtLast in lib/backup_migrate_core/src/File/BackupFile.php
Get the last file extension.

File

lib/backup_migrate_core/src/File/BackupFileInterface.php, line 93

Class

BackupFileInterface
Provides a metadata-only file object.

Namespace

BackupMigrate\Core\File

Code

public function getExtLast();