Loader::__construct( string[] $filePaths, DotenvEnvironmentFactoryInterface $envFactory, bool $immutable = false )

Create a new loader instance.


Parameters

$filePaths

(Required)

$envFactory

(Required)

$immutable

(Optional)

Default value: false


Return

(void)


Source

File: vendor/vlucas/phpdotenv/src/Loader.php

    public function __construct(array $filePaths, FactoryInterface $envFactory, $immutable = false)
    {
        $this->filePaths = $filePaths;
        $this->envFactory = $envFactory;
        $this->setImmutable($immutable);
    }