blob: fced5a2eb25d36290511a6a146a77e20f32f5a3e (
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
28
29
30
31
32
33
|
<?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;
}
}
|