- /**
- * Sets the property accessor for resolving property paths.
- *
- * @param PropertyAccessorInterface $propertyAccessor The property accessor
- *
- * @return $this
- *
- * @deprecated since version 2.5, to be removed in 3.0.
- */
- public function setPropertyAccessor(PropertyAccessorInterface $propertyAccessor);
-
- /**
- * Sets the API version that the returned validator should support.
- *
- * @param int $apiVersion The required API version
- *
- * @return $this
- *
- * @see Validation::API_VERSION_2_5
- * @see Validation::API_VERSION_2_5_BC
- * @deprecated since version 2.7, to be removed in 3.0.
- */
- public function setApiVersion($apiVersion);
-