You are here

public static function AnnotationException::semanticalError in Plug 7

Creates a new AnnotationException describing a Semantical error.

Parameters

string $message Exception message:

Return value

AnnotationException

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

File

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);
}