mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
358 B
358 B
date | id | title |
---|---|---|
2020-11-12 | ba104198-9038-4219-994e-503ee655d9f3 | NotBlank Constraint |
Syntax
namespace App\Entity;
use Symfony\Component\Validator\Constraints as Assert;
class SomeEntity
{
/**
* @Assert\NotBlank()
*/
protected $someProperty;
}