public static function AnnotationException::syntaxError in Plug 7
Creates a new AnnotationException describing a Syntax error.
Parameters
string $message Exception message:
Return value
1 call to AnnotationException::syntaxError()
- DocParser::syntaxError in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Generates a new syntax error.
File
- 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);
}