PHP Class Spatie\Backup\BackupDestination\BackupCollection

Inheritance: extends Illuminate\Support\Collection
Exibir arquivo Open project: spatie/laravel-backup Class Usage Examples

Public Methods

Method Description
createFromFiles ( Illuminate\Contracts\Filesystem\Filesystem | null $disk, array $files ) : BackupCollection
newest ( ) : Backup | null
oldest ( ) : Backup | null
size ( ) : integer

Method Details

createFromFiles() public static method

public static createFromFiles ( Illuminate\Contracts\Filesystem\Filesystem | null $disk, array $files ) : BackupCollection
$disk Illuminate\Contracts\Filesystem\Filesystem | null
$files array
return BackupCollection

newest() public method

public newest ( ) : Backup | null
return Backup | null

oldest() public method

public oldest ( ) : Backup | null
return Backup | null

size() public method

public size ( ) : integer
return integer