You are here

public function Definition::hasTag in Zircon Profile 8

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

Whether this definition has a tag with the given name.

Parameters

string $name:

Return value

bool

File

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

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

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