/**
  * Load the configuration group for the key.
  *
  * @param    string     $group
  * @return     void
  */
 public function load($group)
 {
     if (isset($this->items[$group])) {
         return;
     }
     $this->items[$group] = $this->loader->load($group);
 }
Example #2
0
 /**
  * Load the configuration group for the key.
  *
  * @param  string  $group
  * @return void
  */
 protected function load($group)
 {
     // If we've already loaded this collection, we will just bail out since we do
     // not want to load it again. Once items are loaded a first time they will
     // stay kept in memory within this class and not loaded from disk again.
     if (isset($this->items[$group])) {
         return;
     }
     $loaded = $this->loader->load($this->environment, $group);
     if ($loaded) {
         $this->items[$group] = $loaded;
     }
 }
 /**
  * Set the database table for the database loader.
  *
  * @param string
  * @return void
  */
 public function setTable($table)
 {
     $this->dbLoader->setTable($table);
 }