aboutsummaryrefslogtreecommitdiff
path: root/src/Compiler/CompilerInterface.php
blob: 042a7d0d4b0ab20959f0f26691fc714f32f104d6 (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
<?php
/**
 * @author: Alexander Kiryukhin <alexander@kiryukhin.su>
 * @license: MIT
 */

namespace NeonXP\Dotenv\Compiler;

use NeonXP\Dotenv\Types\KeyValue;

interface CompilerInterface
{
    /**
     * @param KeyValue[] $collection
     */
    function setRawCollection(array $collection): void;

    /**
     * @param KeyValue $keyValue
     * @return KeyValue
     */
    function compileKeyValue(KeyValue $keyValue): KeyValue;
}