You are here

public function Definition::clearTag in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::clearTag()

Clears all tags for a given name.

Parameters

string $name The tag name:

Return value

Definition

File

vendor/symfony/dependency-injection/Definition.php, line 496

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function clearTag($name) {
  if (isset($this->tags[$name])) {
    unset($this->tags[$name]);
  }
  return $this;
}