aboutsummaryrefslogtreecommitdiff
path: root/src/Parser/ParserInterface.php
blob: f67ffb55a97947decb06706a1fea2b2c952a3c88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
declare(strict_types=1);

/**
 * @author: Alexander Kiryukhin <alexander@kiryukhin.su>
 * @license: MIT
 */

namespace NeonXP\Dotenv\Parser;

use NeonXP\Dotenv\Types\KeyValue;

/**
 * Interface ParserInterface
 * @package NeonXP\Dotenv\Parser
 */
interface ParserInterface
{
    /**
     * @param string $line
     * @return KeyValue
     */
    public function parseLine(string $line): KeyValue;
}