S3Service
classe S3Service implémente ServiceInterface (Voir la source)
Méthodes
S3Service Configuration
Get S3Service
Add content after the contents of the file
Add content before the contents of the file
Put other file content in given file
Delete file or directory
List the files of a folder passed as a parameter
List the folder of a folder passed as a parameter
Create a directory
Recover the contents of the file
Copy the contents of a source file to a target file.
Renames or moves a source file to a target file.
Check the existence of a file
isFile alias of is_file.
isDirectory alias of is_dir.
Resolves file path.
Détails
        
                static            FilesystemInterface
    configure(array $config)
        
    
    S3Service Configuration
        
                static            S3Service
    getInstance()
        
    
    Get S3Service
        
                            array|bool
    store(UploadFile $file, string|null $location = null, array $option = [])
        
    
    Function to upload a file
        
                            bool
    append(string $filename, string $content)
        
    
    Add content after the contents of the file
        
                            bool
    prepend(string $filename, string $content)
        
    
    Add content before the contents of the file
        
                            bool
    put(string $file, string $content, array $options = [])
        
    
    Put other file content in given file
        
                            bool
    delete(string|array $filename)
        
    
    Delete file or directory
        
                            array
    files(string $dirname)
        
    
    List the files of a folder passed as a parameter
        
                            array
    directories(string $dirname)
        
    
    List the folder of a folder passed as a parameter
        
                            bool
    makeDirectory(string $bucket, int $mode = 0777, array $option = [])
        
    
    Create a directory
        
                            string|null
    get(string $filename)
        
    
    Recover the contents of the file
        
                            bool
    copy(string $source, string $target)
        
    
    Copy the contents of a source file to a target file.
        
                            bool
    move(string $source, string $target)
        
    
    Renames or moves a source file to a target file.
        
                            bool
    exists(string $filename)
        
    
    Check the existence of a file
        
                            bool
    isFile(string $filename)
        
    
    isFile alias of is_file.
        
                            bool
    isDirectory(string $dirname)
        
    
    isDirectory alias of is_dir.
        
                            string
    path(string $filename)
        
    
    Resolves file path.
Give the absolute path of a path