You are here

public static function AnnotationException::syntaxError in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php \Doctrine\Common\Annotations\AnnotationException::syntaxError()

Creates a new AnnotationException describing a Syntax error.

Parameters

string $message Exception message:

Return value

AnnotationException

1 call to AnnotationException::syntaxError()
DocParser::syntaxError in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
Generates a new syntax error.

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php, line 40

Class

AnnotationException
Description of AnnotationException

Namespace

Doctrine\Common\Annotations

Code

public static function syntaxError($message) {
  return new self('[Syntax Error] ' . $message);
}