Craft 3 Class Reference

Interface craft\base\LocalVolumeInterface

Implemented by
craft\volumes\Local, craft\volumes\Temp
Available since version
3.0
Source Code
https://github.com/craftcms/cms/blob/master/src/base/LocalVolumeInterface.php

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

Public Methods
Method Description Defined By
getRootPath() Returns the root path for the volume. craft\base\LocalVolumeInterface

Method Details

getRootPath() public abstract method #

Returns the root path for the volume.

public abstract string getRootPath ( )
return string The root path for the volume