aboutsummaryrefslogblamecommitdiff
path: root/src/Compiler/CompilerInterface.php
blob: 15b68232e2e4f23107fd144ac92107c23007c067 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
     

                        








                                                        



                                  




                                    
                                                              




                                
                                                                  
 
<?php
declare(strict_types=1);

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

namespace NeonXP\Dotenv\Compiler;

use NeonXP\Dotenv\Types\KeyValue;

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

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