function DocParser::setIgnoreNotImportedAnnotations

Same name in other branches
  1. 9 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoreNotImportedAnnotations()
  2. 8.9.x core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::setIgnoreNotImportedAnnotations()
  3. 11.x 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

Class

DocParser
A parser for docblock annotations.

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function setIgnoreNotImportedAnnotations($bool) {
    $this->ignoreNotImportedAnnotations = (bool) $bool;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.