Doctrine\Common\Annotations\AnnotationException::typeError
Creates a new AnnotationException describing an type error of an attribute.
Signature
public function typeError(string
$attributeName,
string
$annotationName,
string
$context,
string
$expected,
mixed
$actual )
Parameters
$attributeName
— string$annotationName
— string$context
— string$expected
— string$actual
— mixed
Returns
- AnnotationException