aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r--src/Wallabag/CoreBundle/Entity/TaggingRule.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/TaggingRule.php b/src/Wallabag/CoreBundle/Entity/TaggingRule.php
index 6d03a34d..20c15258 100644
--- a/src/Wallabag/CoreBundle/Entity/TaggingRule.php
+++ b/src/Wallabag/CoreBundle/Entity/TaggingRule.php
@@ -4,6 +4,7 @@ namespace Wallabag\CoreBundle\Entity;
4 4
5use Doctrine\ORM\Mapping as ORM; 5use Doctrine\ORM\Mapping as ORM;
6use Symfony\Component\Validator\Constraints as Assert; 6use Symfony\Component\Validator\Constraints as Assert;
7use KPhoen\RulerZBundle\Validator\Constraints as RulerZAssert;
7 8
8/** 9/**
9 * Config. 10 * Config.
@@ -27,6 +28,7 @@ class TaggingRule
27 * @var string 28 * @var string
28 * 29 *
29 * @Assert\NotBlank() 30 * @Assert\NotBlank()
31 * @RulerZAssert\ValidRule()
30 * @ORM\Column(name="rule", type="string", nullable=false) 32 * @ORM\Column(name="rule", type="string", nullable=false)
31 */ 33 */
32 private $rule; 34 private $rule;