Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class SkillsQuantity extends Constraint |
||
9 | { |
||
10 | public $limitMessage = 'obblm.constraints.skills.quantity.violation'; |
||
11 | public $limitByTypeMessage = 'obblm.constraints.skills.quantity_type.violation'; |
||
12 | public $limitByPlayerMessage = 'obblm.constraints.skills.quantity_player.violation'; |
||
13 | |||
14 | public $helper; |
||
15 | public $context; |
||
16 | |||
17 | public function __construct($context = ['single', 'double'], $options = null) |
||
18 | { |
||
19 | parent::__construct($options); |
||
20 | $this->context = $context; |
||
21 | } |
||
22 | |||
23 | public function validatedBy() |
||
26 | } |
||
27 | } |
||
28 |