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