You are here

public function DocParser::setIgnoredAnnotationNames in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoredAnnotationNames()
  2. 10 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoredAnnotationNames()

Sets the annotation names that are ignored during the parsing process.

The names are supposed to be the raw names as used in the class, not the fully qualified class names.

Parameters

array $names:

Return value

void

File

core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php, line 253
This class is a near-copy of Doctrine\Common\Annotations\DocParser, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.

Class

DocParser
A parser for docblock annotations.

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function setIgnoredAnnotationNames(array $names) {
  $this->ignoredAnnotationNames = $names;
}