function AnnotationException::semanticalError
Creates a new AnnotationException describing a Semantical error.
Return value
1 call to AnnotationException::semanticalError()
- DocParser::Annotation in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php - Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ AnnotationException.php, line 58
Class
- AnnotationException
- Description of AnnotationException
Namespace
Drupal\Component\Annotation\DoctrineCode
public static function semanticalError(string $message) {
return new self('[Semantical Error] ' . $message);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.