public function Definition::setTags

Sets tags for this definition

@api

Parameters

array $tags:

Return value

Definition the current instance

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 390

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setTags(array $tags) {
  $this->tags = $tags;
  return $this;
}