public function getLastBackupTime()
    {
        $backups = $this->listBackups();
        if (is_array($backups)) {
            if (!empty($backups)) {
                $timestamp = $backups[0]->timestamp;

                return $timestamp;
            }

            return 'There is no backup available.';
        }

        return $backups;
    }
public function getLastBackupTime()
    {
        $backups = $this->listBackups();
        if (is_array($backups)) {
            if (!empty($backups)) {
                $timestamp = $backups[0]->timestamp;

                return $timestamp;
            }

            return 'There is no backup available.';
        }

        return $backups;
    }
public function getLastBackupTime ( ) { $ backups = $ this -> listBackups ( ) ; if ( is_array ( $ backups ) ) { if ( ! empty ( $ backups ) ) { $ timestamp = $ backups [ 0 ] -> timestamp ; return $ timestamp ; } return 'There is no backup available.' ; } return $ backups ; }
Get the last backup timestamp.

@return mixed|string
Get the last backup timestamp .