Interfaces, Classes, Traits and Enums
    
            - FilesystemAdapter
    Table of Contents
    
            - 
    DISALLOW_LINKS
    
         = 02                            
- 
    SKIP_LINKS
    
         = 01                            
- 
    $linkHandling
    
                         : int            
- 
    $mimeTypeDetector
    
                         : MimeTypeDetector            
- 
    $prefixer
    
                         : PathPrefixer            
- 
    $rootLocation
    
                         : string            
- 
    $rootLocationIsSetup
    
                         : bool            
- 
    $visibility
    
                         : VisibilityConverter            
- 
    $writeFlags
    
                         : int            
- 
    __construct()
    
                                 : mixed    
- 
    copy()
    
                                 : void    
- 
    createDirectory()
    
                                 : void    
- 
    delete()
    
                                 : void    
- 
    deleteDirectory()
    
                                 : void    
- 
    directoryExists()
    
                                 : bool    
- 
    fileExists()
    
                                 : bool    
- 
    fileSize()
    
                                 : FileAttributes    
- 
    lastModified()
    
                                 : FileAttributes    
- 
    listContents()
    
                                 : iteratable<string|int, StorageAttributes>    
- 
    mimeType()
    
                                 : FileAttributes    
- 
    move()
    
                                 : void    
- 
    read()
    
                                 : string    
- 
    readStream()
    
                                 : resource    
- 
    setVisibility()
    
                                 : void    
- 
    visibility()
    
                                 : FileAttributes    
- 
    write()
    
                                 : void    
- 
    writeStream()
    
                                 : void    
- 
    deleteFileInfoObject()
    
                                 : bool    
- 
    ensureDirectoryExists()
    
                                 : void    
- 
    ensureRootDirectoryExists()
    
                                 : void    
- 
    listDirectory()
    
                                 : Generator    
- 
    listDirectoryRecursively()
    
                                 : Generator    
- 
    resolveDirectoryVisibility()
    
                                 : int    
- 
    setPermissions()
    
                                 : void    
- 
    writeToFile()
    
                                 : void    
        DISALLOW_LINKS
        
    
    
    
    
    public
        int
    DISALLOW_LINKS
    = 02
    
    
    
                    
    
        SKIP_LINKS
        
    
    
    
    
    public
        int
    SKIP_LINKS
    = 01
    
    
    
            
        
    
        
                    
    
        $linkHandling
        
        
                                
    
    
    
    
    private
        int
    $linkHandling
    
    
    
    
                    
    
        $mimeTypeDetector
        
        
                                
    
    
    
    
    private
        MimeTypeDetector
    $mimeTypeDetector
    
    
    
    
                    
    
        $prefixer
        
        
                                
    
    
    
    
    private
        PathPrefixer
    $prefixer
    
    
    
    
                    
    
        $rootLocation
        
        
                                
    
    
    
    
    private
        string
    $rootLocation
    
    
    
    
                    
    
        $rootLocationIsSetup
        
        
                                
    
    
    
    
    private
        bool
    $rootLocationIsSetup
     = false
    
    
    
                    
    
        $visibility
        
        
                                
    
    
    
    
    private
        VisibilityConverter
    $visibility
    
    
    
    
                    
    
        $writeFlags
        
        
                                
    
    
    
    
    private
        int
    $writeFlags
    
    
    
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct(string $location[, VisibilityConverter $visibility = null ][, int $writeFlags = LOCK_EX ][, int $linkHandling = self::DISALLOW_LINKS ][, MimeTypeDetector $mimeTypeDetector = null ][, bool $lazyRootCreation = false ]) : mixed
        
        Parameters
    
                    - 
                $location
                : string
                            
- 
                    
            
- 
                $visibility
                : VisibilityConverter
                 = null            
- 
                    
            
- 
                $writeFlags
                : int
                 = LOCK_EX            
- 
                    
            
- 
                $linkHandling
                : int
                 = self::DISALLOW_LINKS            
- 
                    
            
- 
                $mimeTypeDetector
                : MimeTypeDetector
                 = null            
- 
                    
            
- 
                $lazyRootCreation
                : bool
                 = false            
- 
                    
            
Return values
    mixed
            —
        
    
                    
    
        copy()
        
    
    
    
    
    public
                    copy(string $source, string $destination, Config $config) : void
    
        Parameters
    
                    - 
                $source
                : string
                            
- 
                    
            
- 
                $destination
                : string
                            
- 
                    
            
- 
                $config
                : Config
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        createDirectory()
        
    
    
    
    
    public
                    createDirectory(string $path, Config $config) : void
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $config
                : Config
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        delete()
        
    
    
    
    
    public
                    delete(string $path) : void
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        deleteDirectory()
        
    
    
    
    
    public
                    deleteDirectory(string $prefix) : void
    
        Parameters
    
                    - 
                $prefix
                : string
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        directoryExists()
        
    
    
    
    
    public
                    directoryExists(string $location) : bool
    
        Parameters
    
                    - 
                $location
                : string
                            
- 
                    
            
Return values
    bool
            —
        
    
                    
    
        fileExists()
        
    
    
    
    
    public
                    fileExists(string $location) : bool
    
        Parameters
    
                    - 
                $location
                : string
                            
- 
                    
            
Return values
    bool
            —
        
    
                    
    
        fileSize()
        
    
    
    
    
    public
                    fileSize(string $path) : FileAttributes
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    FileAttributes
            —
        
    
                    
    
        lastModified()
        
    
    
    
    
    public
                    lastModified(string $path) : FileAttributes
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    FileAttributes
            —
        
    
                    
    
        listContents()
        
    
    
    
    
    public
                    listContents(string $path, bool $deep) : iteratable<string|int, StorageAttributes>
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $deep
                : bool
                            
- 
                    
            
Return values
    iteratable<string|int, StorageAttributes>
            —
        
    
                    
    
        mimeType()
        
    
    
    
    
    public
                    mimeType(string $path) : FileAttributes
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    FileAttributes
            —
        
    
                    
    
        move()
        
    
    
    
    
    public
                    move(string $source, string $destination, Config $config) : void
    
        Parameters
    
                    - 
                $source
                : string
                            
- 
                    
            
- 
                $destination
                : string
                            
- 
                    
            
- 
                $config
                : Config
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        read()
        
    
    
    
    
    public
                    read(string $path) : string
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    string
            —
        
    
                    
    
        readStream()
        
    
    
    
    
    public
                    readStream(string $path) : resource
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    resource
            —
        
    
                    
    
        setVisibility()
        
    
    
    
    
    public
                    setVisibility(string $path, string $visibility) : void
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $visibility
                : string
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        visibility()
        
    
    
    
    
    public
                    visibility(string $path) : FileAttributes
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
Return values
    FileAttributes
            —
        
    
                    
    
        write()
        
    
    
    
    
    public
                    write(string $path, string $contents, Config $config) : void
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $contents
                : string
                            
- 
                    
            
- 
                $config
                : Config
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        writeStream()
        
    
    
    
    
    public
                    writeStream(string $path, mixed $contents, Config $config) : void
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $contents
                : mixed
                            
- 
                
            
- 
                $config
                : Config
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        deleteFileInfoObject()
        
    
    
    
    
    protected
                    deleteFileInfoObject(SplFileInfo $file) : bool
        
        Parameters
    
                    - 
                $file
                : SplFileInfo
                            
- 
                    
            
Return values
    bool
            —
        
    
                    
    
        ensureDirectoryExists()
        
    
    
    
    
    protected
                    ensureDirectoryExists(string $dirname, int $visibility) : void
        
        Parameters
    
                    - 
                $dirname
                : string
                            
- 
                    
            
- 
                $visibility
                : int
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        ensureRootDirectoryExists()
        
    
    
    
    
    private
                    ensureRootDirectoryExists() : void
        
    
    
        Return values
    void
            —
        
    
                    
    
        listDirectory()
        
    
    
    
    
    private
                    listDirectory(string $location) : Generator
        
        Parameters
    
                    - 
                $location
                : string
                            
- 
                    
            
Return values
    Generator
            —
        
    
                    
    
        listDirectoryRecursively()
        
    
    
    
    
    private
                    listDirectoryRecursively(string $path[, int $mode = RecursiveIteratorIterator::SELF_FIRST ]) : Generator
        
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $mode
                : int
                 = RecursiveIteratorIterator::SELF_FIRST            
- 
                    
            
Return values
    Generator
            —
        
    
                    
    
        resolveDirectoryVisibility()
        
    
    
    
    
    private
                    resolveDirectoryVisibility(string|null $visibility) : int
        
        Parameters
    
                    - 
                $visibility
                : string|null
                            
- 
                    
            
Return values
    int
            —
        
    
                    
    
        setPermissions()
        
    
    
    
    
    private
                    setPermissions(string $location, int $visibility) : void
        
        Parameters
    
                    - 
                $location
                : string
                            
- 
                    
            
- 
                $visibility
                : int
                            
- 
                    
            
Return values
    void
            —
        
    
                    
    
        writeToFile()
        
    
    
    
    
    private
                    writeToFile(string $path, resource|string $contents, Config $config) : void
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                    
            
- 
                $contents
                : resource|string
                            
- 
                
            
- 
                $config
                : Config
                            
- 
                    
            
Return values
    void
            —