src/Environaut/Config/Reader/PhpConfigReader.php
public function getConfigData($location)
    {
        return $this->getExampleConfiguration($location);

        if (is_dir($location)) {
            $location = $location . DIRECTORY_SEPARATOR . 'environaut.php';
        }

        if (!is_readable($location)) {
            throw new \InvalidArgumentException("Configuration file not readable: $location");
        }

        $config = include($location);

        return $config;
    }
public function getConfigData($location)
    {
        return $this->getExampleConfiguration($location);

        if (is_dir($location)) {
            $location = $location . DIRECTORY_SEPARATOR . 'environaut.php';
        }

        if (!is_readable($location)) {
            throw new \InvalidArgumentException("Configuration file not readable: $location");
        }

        $config = include($location);

        return $config;
    }
Reads the config from the given location and
returns the data as an associative array.

@param mixed $location location to read config data from (usually file/directory path)

@return array config data as associative array

@throws \InvalidArgumentException in case of problems handling the given location