FilesystemReader
                
            in
            
        
    
        
            This interface contains everything to read from and inspect a filesystem. All methods containing are non-destructive.
Table of Contents
- LIST_DEEP = true
 - LIST_SHALLOW = false
 - directoryExists() : bool
 - fileExists() : bool
 - fileSize() : int
 - has() : bool
 - lastModified() : int
 - listContents() : DirectoryListing<string|int, StorageAttributes>
 - mimeType() : string
 - read() : string
 - readStream() : resource
 - visibility() : string
 
Constants
LIST_DEEP
    public
        mixed
    LIST_DEEP
    = true
        
        
    
LIST_SHALLOW
    public
        mixed
    LIST_SHALLOW
    = false
        
        
    
Methods
directoryExists()
    public
                    directoryExists(string $location) : bool
    
        Parameters
- $location : string
 
Tags
Return values
bool —fileExists()
    public
                    fileExists(string $location) : bool
    
        Parameters
- $location : string
 
Tags
Return values
bool —fileSize()
    public
                    fileSize(string $path) : int
    
        Parameters
- $path : string
 
Tags
Return values
int —has()
    public
                    has(string $location) : bool
    
        Parameters
- $location : string
 
Tags
Return values
bool —lastModified()
    public
                    lastModified(string $path) : int
    
        Parameters
- $path : string
 
Tags
Return values
int —listContents()
    public
                    listContents(string $location[, bool $deep = self::LIST_SHALLOW ]) : DirectoryListing<string|int, StorageAttributes>
    
        Parameters
- $location : string
 - $deep : bool = self::LIST_SHALLOW
 
Tags
Return values
DirectoryListing<string|int, StorageAttributes> —mimeType()
    public
                    mimeType(string $path) : string
    
        Parameters
- $path : string
 
Tags
Return values
string —read()
    public
                    read(string $location) : string
    
        Parameters
- $location : string
 
Tags
Return values
string —readStream()
    public
                    readStream(string $location) : resource
    
        Parameters
- $location : string
 
Tags
Return values
resource —visibility()
    public
                    visibility(string $path) : string
    
        Parameters
- $path : string