public function setConfigs(array $options, $scope = null)
    {
        if (!is_null($scope)) {
            $this->registry[$scope] = $options;
        } else {
            $this->registry = $options;
        }

        return $this;
    }
public function setConfigs(array $options, $scope = null)
    {
        if (!is_null($scope)) {
            $this->registry[$scope] = $options;
        } else {
            $this->registry = $options;
        }

        return $this;
    }
public function setConfigs ( array $ options , $ scope = null ) { if ( ! is_null ( $ scope ) ) { $ this -> registry [ $ scope ] = $ options ; } else { $ this -> registry = $ options ; } return $ this ; }
Set an array of options

@param   array   $options    The array of values to set for the configuration entry
@param   string  $scope      The scope to use in the configuration registry (optional)
@return  self
Set an array of options