You are here

public function DocParser::setIgnoreNotImportedAnnotations in Drupal 10

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

Sets ignore on not-imported annotations.

Parameters

boolean $bool:

Return value

void

File

core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php, line 265
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 setIgnoreNotImportedAnnotations($bool) {
  $this->ignoreNotImportedAnnotations = (bool) $bool;
}