public function makePathAbsolute($path = '')
    {
        if (empty($path) === false) {
            return DIRECTORY_SEPARATOR . trim(DirectoryKeys::realpath($path), DIRECTORY_SEPARATOR);
        }
    }
public function makePathAbsolute($path = '')
    {
        if (empty($path) === false) {
            return DIRECTORY_SEPARATOR . trim(DirectoryKeys::realpath($path), DIRECTORY_SEPARATOR);
        }
    }
public function makePathAbsolute ( $ path = '' ) { if ( empty ( $ path ) === false ) { return DIRECTORY_SEPARATOR . trim ( DirectoryKeys :: realpath ( $ path ) , DIRECTORY_SEPARATOR ) ; } }
Makes the path an absolute path or returns null if passed path is empty.

@param string $path A path to absolute

@return string The absolute path
Makes the path an absolute path or returns null if passed path is empty .