getRoot() 공개 정적인 메소드

Get the root directory by the autoloader file
public static getRoot ( string $autoloader ) : string
$autoloader string
리턴 string
예제 #1
0
파일: Helpers.php 프로젝트: lavary/crunz
 /**
  * Return absolute path for relative path
  *
  * @param  string $autoloader
  *
  * @return string
  */
 function getroot($autoloader)
 {
     return Utils::getRoot($autoloader);
 }