DirectoryInterface
in
Represents a shared directory.
Table of Contents
Methods
- getSharePath() : string
- Get the full path to the directory on the file share.
- has() : bool
- Check if a file exists.
- write() : $this
- Write data to a file.
Methods
getSharePath()
Get the full path to the directory on the file share.
public
getSharePath() : string
Return values
stringhas()
Check if a file exists.
public
has(string $file) : bool
Parameters
- $file : string
Return values
boolwrite()
Write data to a file.
public
write(string $file, string $contents) : $this
Parameters
- $file : string
-
The path to the file
- $contents : string
-
The contents to write to the file