Crunz\Utils::getBaseDir PHP 메소드

getBaseDir() 공개 정적인 메소드

Return project's root directory
public static getBaseDir ( ) : string
리턴 string
    public static function getBaseDir()
    {
        return getenv('CRUNZ_BASE_DIR');
    }

Usage Example

예제 #1
0
파일: Helpers.php 프로젝트: lavary/crunz
 /**
  * Return the project's root directory
  *
  * @return string
  */
 function getbase()
 {
     return Utils::getBaseDir();
 }