function AnnotationException::syntaxError
Creates a new AnnotationException describing a Syntax error.
Return value
2 calls to AnnotationException::syntaxError()
- DocParser::syntaxError in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Generates a new syntax error.
- DocParser::syntaxError in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php - Generates a new syntax error.
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php, line 24
Class
- AnnotationException
- Description of AnnotationException
Namespace
Doctrine\Common\AnnotationsCode
public static function syntaxError(string $message) {
return new self('[Syntax Error] ' . $message);
}