\duncan3dc\Sonos\Interfaces\UtilsDirectoryInterface

Represents a shared directory.

Summary

Methods
Constants
getSharePath()
has()
write()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getSharePath()

getSharePath() : string

Get the full path to the directory on the file share.

Returns

string

has()

has(string  $file) : boolean

Check if a file exists.

Parameters

string $file

The path to the file.

Returns

boolean

write()

write(string  $file, string  $contents) : $this

Write data to a file.

Parameters

string $file

The path to the file

string $contents

The contents to write to the file

Returns

$this