aboutsummaryrefslogtreecommitdiff
path: root/src/Parser
diff options
context:
space:
mode:
authorАлександр Кирюхин <alexander@kiryukhin.su>2018-01-19 01:01:01 +0300
committerАлександр Кирюхин <alexander@kiryukhin.su>2018-01-19 01:01:01 +0300
commit75721abf6fce65f02f73a20ab05143f8092f7921 (patch)
treef3afaf7a0b372745429a8e77f9ebe734f4a55931 /src/Parser
Initial
Diffstat (limited to 'src/Parser')
-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