protected function combine($base = '', array $relativePaths = [])
    {
        foreach ($relativePaths as $relativePath) {
            $base .= $relativePath.DIRECTORY_SEPARATOR;
        }

        return $base;
    }
protected function combine($base = '', array $relativePaths = [])
    {
        foreach ($relativePaths as $relativePath) {
            $base .= $relativePath.DIRECTORY_SEPARATOR;
        }

        return $base;
    }
protected function combine ( $ base = '' , array $ relativePaths = [ ] ) { foreach ( $ relativePaths as $ relativePath ) { $ base .= $ relativePath . DIRECTORY_SEPARATOR ; } return $ base ; }
This method is intend to return a combined path based on input.

@param string   $base          The base path for combine operation
@param string[] $relativePaths The path parts as array to add

@author Benjamin Carl <opensource@clickalicious.de>

@return string The new combined path
This method is intend to return a combined path based on input .