src/Standart/Connection.php
private function setParam($key, $value, $allowed_keys)
    {
        if (in_array($key, $allowed_keys)) {
            $this->{$key} = $value;
        }
    }
private function setParam($key, $value, $allowed_keys)
    {
        if (in_array($key, $allowed_keys)) {
            $this->{$key} = $value;
        }
    }
Set valid Access Point.

@param  string  $key
@param  mixed  $value
@param  array  $allowed_keys
@return void