public static function AnnotationException::typeError in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php \Doctrine\Common\Annotations\AnnotationException::typeError()
Creates a new AnnotationException describing a type error.
@since 1.1
Parameters
string $message:
Return value
2 calls to AnnotationException::typeError()
- AnnotationException::attributeTypeError in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php - Creates a new AnnotationException describing an type error of an attribute.
- AnnotationException::requiredError in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php - Creates a new AnnotationException describing an required error of an attribute.
File
- modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationException.php, line 81
Class
- AnnotationException
- Description of AnnotationException
Namespace
Doctrine\Common\AnnotationsCode
public static function typeError($message) {
return new self('[Type Error] ' . $message);
}