mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 06:26:22 +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;
}