You are here

public function Definition::getTag in Zircon Profile 8

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

Gets a tag by name.

Parameters

string $name The tag name:

Return value

array An array of attributes

File

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

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function getTag($name) {
  return isset($this->tags[$name]) ? $this->tags[$name] : array();
}