Output of the "On using the UniqueEntity validator without annotation" Symfony snippet

Environment:

  • Strangebuzz Snippet VM: 3.0.1
  • Symfony: 5.4.8

Code execution output:

❌ Form is not valid: Error: "ERROR: This value is already used." (slug: "on-using-the-uniqueentity-validator-without-annotation")
✅ Form is valid! slug: "new-unique-slug"
✅ Form is valid! slug: "other-new-unique-slug"