/**
* @deprecated since Symfony 6.4, use "disableAttributeMapping()" instead
*
* @return $this
*/
public function disableAnnotationMapping():
static { trigger_deprecation('symfony/validator', '6.4', 'Method "%s()" is deprecated, use "disableAttributeMapping()" instead.', __METHOD__
);
return $this->
disableAttributeMapping();
} /**
* Disables attribute-based constraint mapping.
*
* @return $this
*/
public function disableAttributeMapping():
static { $this->annotationReader = null;
$this->enableAttributeMapping = false;