PHP 트레잇 M1\Vars\Traits\PathTrait

부터: 0.1.0
파일 보기 프로젝트 열기: m1/Vars

공개 프로퍼티들

프로퍼티 타입 설명
$path string The base path for the Vars config and cache folders

공개 메소드들

메소드 설명
getPath ( ) : string Get the path
setPath ( string $path, boolean $check_writeable = false ) : Vars Set the Vars base path

메소드 상세

getPath() 공개 메소드

Get the path
public getPath ( ) : string
리턴 string The path

setPath() 공개 메소드

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
리턴 M1\Vars\Vars

프로퍼티 상세

$path 공개적으로 프로퍼티

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