Remove just an alias or binding, leaving the object and key intact.

@since  1.3.0

@param  string $alias The alias to remove.
@return bool
552727
public function removeAlias($alias)
    {
        if (isset($this->aliases[$alias])) {
            unset($this->aliases[$alias]);
            return true;
        }

        return false;
    }
1315192
public function removeAlias($alias)
    {
        if (isset($this->aliasDefinitions[$alias = (string) $alias])) {
            unset($this->aliasDefinitions[$alias]);
            $this->removedIds[$alias] = true;
        }
    }
252020
public function delete($delete, $alias = null)
    {
        $this->type = self::DELETE;

        $this->from($delete, $alias);

        return $this;
    }
68472
private function get_alias_property( $alias )
	{
		if ( array_key_exists( $alias, $this->aliases ) )
			return $this->aliases[$alias];

		return $alias;
	}
83868
public function resolve($alias)
	{
		// Check wether the alias matches the pattern
		if ( ! preg_match($this->regex, $alias, $matches))
		{
			return false;
		}

		// Get the translation
		$translation = $this->translation;

		if (strpos($translation, '$') === false)
		{
			$class = $translation;
		}
		else
		{
			// Make sure namespace seperators are escaped
			$translation = str_replace('\\', '\\\\', $translation);

			// Resolve the replacement
			$class = preg_replace($this->regex, $translation, $alias);
		}

		// Check wether the class exists
		if ($class and $this->objectExists($class, true))
		{
			return $class;
		}

		return false;
	}
822575
public function removeAlias($alias)
    {
        if (isset($this->aliasDefinitions[$alias = $this->normalizeId($alias)])) {
            unset($this->aliasDefinitions[$alias]);
            $this->removedIds[$alias] = true;
        }
    }
820929
public static function getAlias($alias)
    {
        $alias = strtolower($alias);

        return array_key_exists($alias, self::$aliases) ? self::$aliases[$alias] : false;
    }
746305
public function hasAlias($alias)
    {
        if ($this->name == $alias) {
            return true;
        }

        return in_array($alias, $this->aliases);
    }
1261955
public function alias($alias = null)
    {
        deprecationWarning(
            get_called_class() . '::alias() is deprecated. ' .
            'Use setAlias()/getAlias() instead.'
        );
        if ($alias !== null) {
            $this->setAlias($alias);
        }

        return $this->getAlias();
    }
504117
final public function hasInstance(string $alias): bool
    {
        if (!$this->has($alias)) {
            return false;
        }

        while (isset($this->bindings[$alias]) && is_string($this->bindings[$alias])) {
            //Checking alias tree
            $alias = $this->bindings[$alias];
        }

        return isset($this->bindings[$alias]) && is_object($this->bindings[$alias]);
    }
716223
public function removeAlias($alias)
    {
        $this->validateAlias($alias);
        if (!$this->aliases->has($alias)) {
            throw new Exception\AliasNotFoundException(sprintf('The "%s" item alias does not exist.', $alias));
        }

        $this->aliases->remove($alias);
    }
761056
public function remove($alias, $config = array())
	{
		$timeout = isset($config['timeout']) ? $config['timeout'] : 0;
		return $this->cache->delete($alias,$timeout);
	}
492086
public function remove($key)
    {
        $unsetter = 'unset'.ucfirst($key);
        $remover  = 'remove'.ucfirst($key);

        if (is_array($this->current) && array_key_exists($key, $this->current)) {
            unset($this->current[$key]);
        } elseif (is_object($this->current) && isset($this->current->$key)) {
            unset($this->current->$key);
        } elseif ($this->isObjectWithMethod($this->current, $unsetter)) {
            $this->current->$unsetter();
        } elseif ($this->isObjectWithMethod($this->current, $remover)) {
            $this->current->$remover();
        } elseif ($this->isObjectWithMethod($this->current, 'remove')) {
            $this->current->remove($key);
        } else {
            return false;
        }

        return true;
    }
1055327
public function resolveAlias($alias)
	{
		// Check if alias exists in the store and as an object
		if (isset($this->aliases[$alias]) and $this->objectExists($this->aliases[$alias], true))
		{
			return $this->aliases[$alias];
		}

		return false;
	}
1178537
public function remove($alias)
    {
        $id = $this->getId($alias);
        if ($id) {
            unset($this->aliases[$alias]);
            $aliases = &$this->ids[$id];
            unset($aliases[array_search($alias, $aliases, true)]);
            if (!empty($aliases)) {
                $this->removeDependedAliases($alias, $id);
            } else {
                unset($this->ids[$id]);
            }
        }

        return $this;
    }
1105102
public function unregister($alias)
    {
        $this->_collection->remove($alias);
        $this->remove($alias);
        return $this;
    }
1186767
public function has($alias)
    {
        $alias = $this->normalizeNamespace($alias);

        if (isset($this->byAlias[$alias]) || isset($this->byEntity[$alias])) {
            return true;
        }

        return false;
    }