Symfony is not loading the correct validation service
Symfony is not loading the correct validation service I'm using Symfony framework 3.4. Currently i'm working on a validation method, but suddenly Symfony validation stopped working, and then all of my validations stopped working, then i run: php bin/console debug:container And i've got the following output for the validator service: Service ID ClassName validator alias for "liip_functional_test.validator" I have the following questions: Is this the correct class name for the validator service? What could i have done wrong? My entire code is this: namespace AppBundleDataTransfer; use SymfonyComponentValidatorConstraints as Assert; class ProductFromApi { /** * @AssertIsTrue(message="Testing the validator") */ public function isTestCorrect() : Bool { return false; } } I was really puzzled by this override, but after a quick search...
