for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Boekkooi\Bundle\JqueryValidationBundle\Form\Rule;
use Boekkooi\Bundle\JqueryValidationBundle\Form\Rule;
use Boekkooi\Bundle\JqueryValidationBundle\Form\RuleMessage;
use Symfony\Component\Validator\Constraint;
/**
* @author Warnar Boekkooi <[email protected]>
*/
class ConstraintRule extends Rule
{
* A list of validation groups
* @var array
public $groups;
public function __construct($name, $options = null, RuleMessage $message = null, array $groups = array(Constraint::DEFAULT_GROUP), array $conditions = array())
parent::__construct($name, $options, $message, $conditions);
$this->groups = $groups;
}