public function __construct($filePath, $immutable = false) { $this->filePath = $filePath; $this->immutable = $immutable; }
/** * Dotenv constructor. * @param string $filePath */ public function __construct($filePath) { parent::__construct($filePath); if (file_exists($filePath)) { $this->load(); } }