aboutsummaryrefslogtreecommitdiff
path: root/src/Loader/LoaderInterface.php
blob: c848e6c765e183a369d1b34f89e301c940d9f1db (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
<?php
declare(strict_types=1);

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

namespace NeonXP\Dotenv\Loader;

/**
 * Interface LoaderInterface
 * @package NeonXP\Dotenv\Loader
 */
interface LoaderInterface
{
    /**
     * Load not empty lines from file or other source
     * @param string $filePath
     * @return string[]
     */
    public function load(string $filePath = '.env'): array;
}