You are here

protected function DocLexer::getNonCatchablePatterns in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php \Doctrine\Common\Annotations\DocLexer::getNonCatchablePatterns()

Lexical non-catchable patterns.

Return value

array

Overrides AbstractLexer::getNonCatchablePatterns

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php, line 94

Class

DocLexer
Simple lexer for docblock annotations.

Namespace

Doctrine\Common\Annotations

Code

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