src/Integration/Configuration.php
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;
    }
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;
    }
Loads the configuration from a specified directory.

@param  string $directory
@return self