Documentation

DirectoryInterface

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
string

has()

Check if a file exists.

public has(string $file) : bool
Parameters
$file : string
Return values
bool

write()

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

Return values
$this
On this page

Search results