Renames a Property Key.
@access		public
@param		string		$key			Key of Property to rename
@param		string		$new			New Key of Property
@param		string		$section		Section of Property
@return		bool
180439
public function renameProperty( $key, $new, $section = NULL )
	{
		if( $this->usesSections() )
		{
			if( !$this->hasProperty( $key, $section ) )
				throw new InvalidArgumentException( 'Key "'.$key.'" is not existing in section "'.$section.'"' );
			$this->properties[$section][$new]	= $this->properties[$section][$key];
			if( isset( $this->disabled[$section][$key] ) )
				$this->disabled [$section][$new]		= $this->disabled[$section][$key];
			if( isset( $this->comments[$section][$key] ) )
				$this->comments [$section][$new]	= $this->comments[$section][$key];
			$this->renamed[$section][$key] = $new;
			return is_int( $this->write() );
		}
		else
		{
			if( !$this->hasProperty( $key ) )
				throw new InvalidArgumentException( 'Key "'.$key.'" is not existing' );
			$this->properties[$new]	= $this->properties[$key];
			if( isset( $this->disabled[$key] ) )
				$this->disabled[$new]		= $this->disabled[$key];
			if( isset( $this->comments[$key] ) )
				$this->comments[$new]	= $this->comments[$key];
			$this->renamed[$key]	= $new;
			return is_int( $this->write() );
		}
	}
1347934
public function has(string $section, string $key) : bool
    {
        if ($section === '') {
            throw new \InvalidArgumentException('Arg \'section\' cannot be empty.');
        }
        if ($key == '*') {
            return isset($this->map[$section]);
        }
        if (isset($this->map[$section])) {
            if ($this->arrayAccess[$section]) {
                return isset($this->map[$section][$key]);
            }
            else {
                return isset($this->map[$section]->{$key});
            }
        }
        return false;
    }
913091
public function rename($pathToImage, $newName)
    {
        $this->sizes->keys()->each(function ($size) use ($pathToImage, $newName) {
            $existing = $this->createThumbPath($pathToImage, $size);
            list($path) = $this->getThumbPath($pathToImage, $size);

            if ($this->storage->exists($existing)) {
                $this->storage->move($existing, $path . '/' . $newName);
            }
        });
    }
73159
public function rename($currentKey, $newKey)
    {
        if ($this->has($currentKey)) {
            $this->set($newKey, $this->proxy->{$currentKey})->remove($currentKey);
        }

        return $this;
    }
1152647
private function getCacheKey($section, $key, ?string $owner = null)
    {
        return 'phpmob-settings.' . ($owner
                ? sprintf('%s.%s.%s', $section, $key, $owner)
                : sprintf('%s.%s', $section, $key)
            );
    }
1347198
public static function move($oldName, $newName, $context = null)
    {
        return self::rename($oldName, $newName, $context);
    }
700549
public static function rename($oldName, $newName, $context = null)
    {
        return self::resourceExists($oldName) ? rename($oldName, $newName, $context) : false;
    }
45715
public function isConfigured(array $keys, string $section): bool
    {
        if (!array_key_exists($section, $this->configuration)) {
            return false;
        }

        return !array_diff_key(array_flip($keys), $this->configuration[$section]);
    }
981715
public Response<String> rename(final String oldkey, final String newkey) {
		return new PipelineOperation<String>() {

			@Override
			Response<String> execute(Pipeline jedisPipeline) throws DynoException {
				return jedisPipeline.rename(oldkey, newkey);
			}
		}.execute(oldkey, OpName.RENAME);

	}
914044
public function rename($key, $replacement, $existingOnly = false) {
        $cmd = $existingOnly ? 'renamenx' : 'rename';

        return $this->send([$cmd, $key, $replacement], function ($response) use ($existingOnly) {
            return $existingOnly || (bool) $response;
        });
    }
1359393
public function get( $key, $section = NULL )
	{
		if( !is_null( $this->sections ) && $this->sections->has( $section ) )
			return $this->sections->get( $section )->get( $key );
		if( !is_null( $this->pairs ) )
			return $this->pairs->get( $key );
		return NULL;
	}
692409
def rename(self, key, newkey):
        
        if key == newkey:
            raise ValueError("key and newkey are the same")
        fut = self.execute(b'RENAME', key, newkey)
        return wait_ok(fut)
30818
public function has(string $section, string $key) : bool
    {
        return $this->config->has($this->concat($section, $key));
    }
530890
public function renameTable($old, $new)
    {
        $this->append(sprintf('RENAME TABLE %s TO %s ', $this->quote($old), $this->quote($new)));
        return $this;
    }
581955
public function setConfigValue( $section, $key, $value )
	{
		$this->config[$section][$key] = $value;
		$this->write();
	}
1105726
public function rename($new, $old = null)
    {
        $this->arguments[] = 'rename';
        if ($old) {
            $this->arguments[] = $old;
        }
        $this->arguments[] = $new;
        return $this;
    }
328564
private function renameTable($old, $new) {
        $renameSql = 'alter table '.
            $this->prefixTable($old).
            ' rename to '.
            $this->prefixTable($new);
        $this->queryDefine($renameSql);
    }