src/Config.php
protected function normalizePath($value)
    {
        // array of paths = recursive
        if (is_array($value)) {
            foreach ($value as $i => $val) {
                $value[$i] = $this->normalizePath($val);
            }

            return $value;
        }

        $converter = new PathConverter(dirname($this->config['config_path']), $this->config['path']);

        return $converter->convert($value);
    }
protected function normalizePath($value)
    {
        // array of paths = recursive
        if (is_array($value)) {
            foreach ($value as $i => $val) {
                $value[$i] = $this->normalizePath($val);
            }

            return $value;
        }

        $converter = new PathConverter(dirname($this->config['config_path']), $this->config['path']);

        return $converter->convert($value);
    }
protected function normalizePath ( $ value ) { // array of paths = recursive if ( is_array ( $ value ) ) { foreach ( $ value as $ i => $ val ) { $ value [ $ i ] = $ this -> normalizePath ( $ val ) ; } return $ value ; } $ converter = new PathConverter ( dirname ( $ this -> config [ 'config_path' ] ) , $ this -> config [ 'path' ] ) ; return $ converter -> convert ( $ value ) ; }
Normalize all relative paths by prefixing them with the project path.

@param string|string[] $value

@return string|string[]
Normalize all relative paths by prefixing them with the project path .