protected function processDir($dir) {
    $dir = $this->replacePattern($dir);
    // The absolute path has to be calculated relative to the configuration file
    if (Path::isRelative($dir)) {
      $dir = Path::makeAbsolute($dir, dirname($this->configFile));
    }
    return rtrim($dir, '/');
  }
protected function processDir($dir) {
    $dir = $this->replacePattern($dir);
    // The absolute path has to be calculated relative to the configuration file
    if (Path::isRelative($dir)) {
      $dir = Path::makeAbsolute($dir, dirname($this->configFile));
    }
    return rtrim($dir, '/');
  }
protected function processDir ( $ dir ) { $ dir = $ this -> replacePattern ( $ dir ) ; // The absolute path has to be calculated relative to the configuration file if ( Path :: isRelative ( $ dir ) ) { $ dir = Path :: makeAbsolute ( $ dir , dirname ( $ this -> configFile ) ) ; } return rtrim ( $ dir , '/' ) ; }
Process given dir with replacements and makes it absolute.

@param string $dir

@return string
Absolute path with placeholders replaced.
Process given dir with replacements and makes it absolute .