code: public function load($directory)
      {
          $configurations = glob($directory . '/*.php');
  
          foreach ($configurations as $configuration) {
              $items = require $configuration;
  
              $name = basename($configuration, '.php');
  
              $this->data = array_merge($this->data, array($name => $items));
          }
  
          return $this->data;
      }
docs: Loads the configuration from a specified directory.
  
  @param  string $directory
  @return self