getRoot() public static method

Get the root directory by the autoloader file
public static getRoot ( string $autoloader ) : string
$autoloader string
return string
Example #1
0
 /**
  * Return absolute path for relative path
  *
  * @param  string $autoloader
  *
  * @return string
  */
 function getroot($autoloader)
 {
     return Utils::getRoot($autoloader);
 }