public function BackupFile::getExtLast in Backup and Migrate 5.0.x
Get the last file extension.
For example: testfile.txt.gz would return: 'gz'
Return value
mixed
Overrides BackupFileInterface::getExtLast
File
- src/
Core/ File/ BackupFile.php, line 136
Class
- BackupFile
- @package Drupal\backup_migrate\Core\File
Namespace
Drupal\backup_migrate\Core\FileCode
public function getExtLast() {
return end($this->ext);
}