Pipe\Config::__construct PHP Method

__construct() public method

public __construct ( $values = [], $filename = null )
    function __construct($values = array(), $filename = null)
    {
        foreach ($values as $key => $value) {
            # Convert from underscore_separated to camelCase
            $key = lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $key))));
            $this->{$key} = $value;
        }
        $this->filename = $filename;
    }