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