LittleGiant\SpinDB\Storage\RotateStorage
Synopsis
class RotateStorage
{
- // members
- protected S3Client $client;
- // methods
- protected S3Client getClient()
- protected string getPathFolder()
- public array getFiles()
- public Result saveFile()
- public void deleteFile()
- protected string getBucket()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
Members
protected
- $client
—
Aws\S3\S3Client
s3 client
Methods
protected
- getBucket()
- getClient()
- getPathFolder() — Get all folder
public
- deleteFile() — Remove object by key
- getFiles() — Get the list of documents on the server
- saveFile() — Add a new backup to the store