You are here

public static function AnnotationException::semanticalError in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/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 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php
Creates a new AnnotationException describing a constant semantical error.
DocParser::Annotation in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…

File

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