aboutsummaryrefslogtreecommitdiff
path: root/src/Compiler/CompilerInterface.php
blob: 22daad7e531d86b6cc1cb9fd613dbcd53c9f5eff (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
25
26
27
<?php
declare(strict_types=1);

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

namespace NeonXP\Dotenv\Compiler;

/**
 * Interface CompilerInterface
 * @package NeonXP\Dotenv\Compiler
 */
interface CompilerInterface
{
    /**
     * @param array[] $collection
     */
    public function setRawCollection(array $collection): void;

    /**
     * @param array $array
     * @return array
     */
    public function compile(array $array): array;
}