summaryrefslogtreecommitdiff
path: root/libs/path-converter/src/ConverterInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/path-converter/src/ConverterInterface.php')
-rwxr-xr-xlibs/path-converter/src/ConverterInterface.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/path-converter/src/ConverterInterface.php b/libs/path-converter/src/ConverterInterface.php
new file mode 100755
index 00000000..dc1b7657
--- /dev/null
+++ b/libs/path-converter/src/ConverterInterface.php
@@ -0,0 +1,24 @@
+<?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);
+}