mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-01 02:52:50 +02:00
- switched from cssmin to matthiasmullie/minify for CSS minification. - the minify lib requires the path-converter lib (from the same author), which has been added as well (in include/minify/path-converter). This change is necessary because cssmin is not compatible with PHP 8.4
25 lines
527 B
PHP
25 lines
527 B
PHP
<?php
|
|
|
|
namespace MatthiasMullie\PathConverter;
|
|
|
|
/**
|
|
* Convert file paths.
|
|
*
|
|
* Please report bugs on https://github.com/matthiasmullie/path-converter/issues
|
|
*
|
|
* @author Matthias Mullie <pathconverter@mullie.eu>
|
|
* @copyright Copyright (c) 2015, Matthias Mullie. All rights reserved
|
|
* @license MIT License
|
|
*/
|
|
interface ConverterInterface
|
|
{
|
|
/**
|
|
* Convert file paths.
|
|
*
|
|
* @param string $path The path to be converted
|
|
*
|
|
* @return string The new path
|
|
*/
|
|
public function convert($path);
|
|
}
|