function AnnotationException::semanticalError
Creates a new AnnotationException describing a Semantical error.
Return value
2 calls to AnnotationException::semanticalError()
- AnnotationException::semanticalErrorConstants in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ AnnotationException.php - Creates a new AnnotationException describing a constant semantical error.
- 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.