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 AppBundle\DataTransfer;
use Symfony\Component\Validator\Constraints as Assert;
class ProductFromApi
{
/**
* @Assert\IsTrue(message="Testing the validator")
*/
public function isTestCorrect() : Bool
{
return false;
}
}