/**
  * Constructor
  *
  * Call the parent class and pass it the
  * root directory as the argument.
  */
 public function __construct()
 {
     parent::__construct($_SERVER['DOCUMENT_ROOT']);
 }
Exemple #2
0
 public function __construct()
 {
     $this->dotEnv = parent::__construct($_SERVER['DOCUMENT_ROOT']);
 }
Exemple #3
0
 /**
  * create an instance of the class
  */
 public function __construct()
 {
     parent::__construct(__DIR__ . '/../..');
 }
Exemple #4
0
 public function __construct($path, $file = '.env')
 {
     parent::__construct($path, $file);
     $this->loader = new Loader($this->filePath, $immutable = true);
 }