function DocLexer::getNonCatchablePatterns

File

core/lib/Drupal/Component/Annotation/Doctrine/DocLexer.php, line 114

Class

DocLexer
Simple lexer for docblock annotations.

Namespace

Drupal\Component\Annotation\Doctrine

Code

protected function getNonCatchablePatterns() : array {
  return [
    '\\s+',
    '\\*+',
    '(.)',
  ];
}

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