Table of Contents
-
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
copy()
public
copy(string $source, string $destination, Config $config) : void
Parameters
-
$source
: string
-
-
$destination
: string
-
-
$config
: Config
-
-
throws
-
UnableToCopyFile
-
throws
-
FilesystemException
Return values
void
—
createDirectory()
public
createDirectory(string $path, Config $config) : void
Parameters
-
$path
: string
-
-
$config
: Config
-
-
throws
-
UnableToCreateDirectory
-
throws
-
FilesystemException
Return values
void
—
delete()
public
delete(string $path) : void
Parameters
-
$path
: string
-
-
throws
-
UnableToDeleteFile
-
throws
-
FilesystemException
Return values
void
—
deleteDirectory()
public
deleteDirectory(string $path) : void
Parameters
-
$path
: string
-
-
throws
-
UnableToDeleteDirectory
-
throws
-
FilesystemException
Return values
void
—
directoryExists()
public
directoryExists(string $path) : bool
Parameters
-
$path
: string
-
-
throws
-
FilesystemException
-
throws
-
UnableToCheckExistence
Return values
bool
—
fileExists()
public
fileExists(string $path) : bool
Parameters
-
$path
: string
-
-
throws
-
FilesystemException
-
throws
-
UnableToCheckExistence
Return values
bool
—
fileSize()
public
fileSize(string $path) : FileAttributes
Parameters
-
$path
: string
-
-
throws
-
UnableToRetrieveMetadata
-
throws
-
FilesystemException
Return values
FileAttributes
—
lastModified()
public
lastModified(string $path) : FileAttributes
Parameters
-
$path
: string
-
-
throws
-
UnableToRetrieveMetadata
-
throws
-
FilesystemException
Return values
FileAttributes
—
listContents()
public
listContents(string $path, bool $deep) : iteratable<string|int, StorageAttributes>
Parameters
-
$path
: string
-
-
$deep
: bool
-
-
throws
-
FilesystemException
Return values
iteratable<string|int, StorageAttributes>
—
mimeType()
public
mimeType(string $path) : FileAttributes
Parameters
-
$path
: string
-
-
throws
-
UnableToRetrieveMetadata
-
throws
-
FilesystemException
Return values
FileAttributes
—
move()
public
move(string $source, string $destination, Config $config) : void
Parameters
-
$source
: string
-
-
$destination
: string
-
-
$config
: Config
-
-
throws
-
UnableToMoveFile
-
throws
-
FilesystemException
Return values
void
—
read()
public
read(string $path) : string
Parameters
-
$path
: string
-
-
throws
-
UnableToReadFile
-
throws
-
FilesystemException
Return values
string
—
readStream()
public
readStream(string $path) : resource
Parameters
-
$path
: string
-
-
throws
-
UnableToReadFile
-
throws
-
FilesystemException
Return values
resource
—
setVisibility()
public
setVisibility(string $path, string $visibility) : void
Parameters
-
$path
: string
-
-
$visibility
: string
-
-
throws
-
InvalidVisibilityProvided
-
throws
-
FilesystemException
Return values
void
—
visibility()
public
visibility(string $path) : FileAttributes
Parameters
-
$path
: string
-
-
throws
-
UnableToRetrieveMetadata
-
throws
-
FilesystemException
Return values
FileAttributes
—
write()
public
write(string $path, string $contents, Config $config) : void
Parameters
-
$path
: string
-
-
$contents
: string
-
-
$config
: Config
-
-
throws
-
UnableToWriteFile
-
throws
-
FilesystemException
Return values
void
—
writeStream()
public
writeStream(string $path, resource $contents, Config $config) : void
Parameters
-
$path
: string
-
-
$contents
: resource
-
-
$config
: Config
-
-
throws
-
UnableToWriteFile
-
throws
-
FilesystemException
Return values
void
—