Removes an already defined service definition or alias.
$this
public final function remove(string $id) : static { $this->container ->removeDefinition($id); $this->container ->removeAlias($id); return $this; }