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
 /**
  * Return the project's root directory
  *
  * @return string
  */
 function getbase()
 {
     return Utils::getBaseDir();
 }