LocalVolumeInterface

Type
Interface
Namespace
craft\base
Implemented by
craft\volumes\Local, craft\volumes\Temp
Since
3.0.0

LocalVolumeInterface defines the common interface to be implemented by volume classes that are on the local file system.

View source (opens new window)

# Public Methods

Method Description
getRootPath() Returns the root path for the volume.

# getRootPath()

Returns the root path for the volume.

View source (opens new window)

Returns

string (opens new window) – The root path for the volume