private function _convertedValue($value, $key, $prefix) {
        if($this->getTransformsToConfig()) {
            if(is_iterable($value))
                $value = new static($value, $prefix ? "$prefix.$key" : $key, true);
        }
        return $value;
    }
private function _convertedValue($value, $key, $prefix) {
        if($this->getTransformsToConfig()) {
            if(is_iterable($value))
                $value = new static($value, $prefix ? "$prefix.$key" : $key, true);
        }
        return $value;
    }
private function _convertedValue ( $ value , $ key , $ prefix ) { if ( $ this -> getTransformsToConfig ( ) ) { if ( is_iterable ( $ value ) ) $ value = new static ( $ value , $ prefix ? "$prefix.$key" : $ key , true ) ; } return $ value ; }
Internal method to convert any value to a new configuration object if required.

@internal
@param $value
@param $key
@param $prefix
@return Config
Internal method to convert any value to a new configuration object if required .