namespace Symfony\Component\Validator;
+use Symfony\Component\Validator\Validator\ValidatorInterface;
+
/**
* Entry point for the Validator component.
*
*/
final class Validation
{
- /**
- * The Validator API provided by Symfony 2.4 and older.
- *
- * @deprecated use API_VERSION_2_5_BC instead.
- */
- const API_VERSION_2_4 = 1;
-
- /**
- * The Validator API provided by Symfony 2.5 and newer.
- */
- const API_VERSION_2_5 = 2;
-
- /**
- * The Validator API provided by Symfony 2.5 and newer with a backwards
- * compatibility layer for 2.4 and older.
- */
- const API_VERSION_2_5_BC = 3;
-
/**
* Creates a new validator.
*