aboutsummaryrefslogblamecommitdiff
path: root/tests/mocks/MockCompiler.php
blob: fced5a2eb25d36290511a6a146a77e20f32f5a3e (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                        







                                               
                                 






                                                      

                          
       
                                         
     
                      

     
<?php
declare(strict_types=1);

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

use NeonXP\Dotenv\Compiler\CompilerInterface;

/**
 * Class MockCompiler
 */
class MockCompiler implements CompilerInterface
{

    /**
     * @param array[] $collection
     */
    function setRawCollection(array $collection): void
    {
        // Do nothing
    }

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