aboutsummaryrefslogtreecommitdiff
path: root/src/Parser/ParserInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Parser/ParserInterface.php')
-rw-r--r--src/Parser/ParserInterface.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Parser/ParserInterface.php b/src/Parser/ParserInterface.php
new file mode 100644
index 0000000..b53e29f
--- /dev/null
+++ b/src/Parser/ParserInterface.php
@@ -0,0 +1,18 @@
+<?php
+/**
+ * @author: Alexander Kiryukhin <alexander@kiryukhin.su>
+ * @license: MIT
+ */
+
+namespace NeonXP\Dotenv\Parser;
+
+use NeonXP\Dotenv\Types\KeyValue;
+
+interface ParserInterface
+{
+ /**
+ * @param string $line
+ * @return KeyValue
+ */
+ public function parseLine(string $line): KeyValue;
+} \ No newline at end of file