You are here

public static function AnnotationException::semanticalError in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php \Doctrine\Common\Annotations\AnnotationException::semanticalError()

Creates a new AnnotationException describing a Semantical error.

Parameters

string $message Exception message:

Return value

AnnotationException

2 calls to AnnotationException::semanticalError()
AnnotationException::semanticalErrorConstants in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php
Creates a new AnnotationException describing a constant semantical error.
DocParser::Annotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php, line 52

Class

AnnotationException
Description of AnnotationException

Namespace

Doctrine\Common\Annotations

Code

public static function semanticalError($message) {
  return new self('[Semantical Error] ' . $message);
}