public static function AnnotationException::syntaxError in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/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
1 call to AnnotationException::syntaxError()
- DocParser::syntaxError in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Generates a new syntax error.
File
- modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php, line 40
Class
- AnnotationException
- Description of AnnotationException
Namespace
Doctrine\Common\AnnotationsCode
public static function syntaxError($message) {
return new self('[Syntax Error] ' . $message);
}