function 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.