ConverterInterface.php 527 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace MatthiasMullie\PathConverter;
  3. /**
  4. * Convert file paths.
  5. *
  6. * Please report bugs on https://github.com/matthiasmullie/path-converter/issues
  7. *
  8. * @author Matthias Mullie <pathconverter@mullie.eu>
  9. * @copyright Copyright (c) 2015, Matthias Mullie. All rights reserved
  10. * @license MIT License
  11. */
  12. interface ConverterInterface
  13. {
  14. /**
  15. * Convert file paths.
  16. *
  17. * @param string $path The path to be converted
  18. *
  19. * @return string The new path
  20. */
  21. public function convert($path);
  22. }