Completed
Push — master ( 1d78ab...6d2c27 )
by Andrii
16:40
created

DotEnv::writeFile()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
/**
3
 * Composer plugin for config assembling
4
 *
5
 * @link      https://github.com/hiqdev/composer-config-plugin
6
 * @package   composer-config-plugin
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2016-2018, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\composer\config\configs;
12
13
/**
14
 * DotEnv class represents output configuration file with ENV values.
15
 *
16
 * @author Andrii Vasyliev <[email protected]>
17
 */
18
class DotEnv extends Config
19
{
20
    protected function writeFile(string $path, array $data)
21
    {
22
        $this->writePhpFile($path, $data, false);
23
    }
24
}
25