summaryrefslogtreecommitdiff
path: root/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php
blob: 17cc42adf98914bda35c3551c96964d1ce0d9e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}