/** * Return an absolute path relative to the used file. * * @param string $path * @param string $default * @return string */ protected function toAbsolutePath($path, $default = null) { return !empty($path) ? Util\Cli::toAbsolutePath($path, Util\Cli::getBase('configuration')) : $default; }