load() публичный Метод

Load .env file in given directory.
public load ( ) : array
Результат array
Пример #1
0
 /**
  * Load `.env` file in given directory.
  *
  * @return array
  */
 public function overload()
 {
     $this->loader = new Loader($this->filePath, $immutable = false);
     return $this->loader->load();
 }
Пример #2
0
 /**
  * Actually load the data.
  *
  * @param bool $overload
  *
  * @return array
  */
 protected function loadData($overload = false)
 {
     $this->loader = new Loader($this->filePath, !$overload);
     return $this->loader->load();
 }