PHP Trait M1\Vars\Traits\PathTrait

Since: 0.1.0
Datei anzeigen Open project: m1/Vars

Public Properties

Property Type Description
$path string The base path for the Vars config and cache folders

Public Methods

Method Description
getPath ( ) : string Get the path
setPath ( string $path, boolean $check_writeable = false ) : Vars Set the Vars base path

Method Details

getPath() public method

Get the path
public getPath ( ) : string
return string The path

setPath() public method

Set the Vars base path
public setPath ( string $path, boolean $check_writeable = false ) : Vars
$path string The path to set
$check_writeable boolean Check whether dir is writeable
return M1\Vars\Vars

Property Details

$path public_oe property

The base path for the Vars config and cache folders
public string $path
return string