summaryrefslogtreecommitdiff
path: root/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php')
-rw-r--r--vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php b/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php
new file mode 100644
index 0000000..17cc42a
--- /dev/null
+++ b/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Dotenv\Parser;
+
+interface ParserInterface
+{
+ /**
+ * Parse content into an entry array.
+ *
+ * @param string $content
+ *
+ * @throws \Dotenv\Exception\InvalidFileException
+ *
+ * @return \Dotenv\Parser\Entry[]
+ */
+ public function parse(string $content);
+}