| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class CompositeConstraint implements Constraint |
||
| 8 | { |
||
| 9 | /** @var Constraint[] */ |
||
| 10 | private $constraints; |
||
| 11 | |||
| 12 | 3 | public function __construct(Constraint ...$constraints) |
|
| 13 | { |
||
| 14 | 3 | $this->constraints = $constraints; |
|
| 15 | 3 | } |
|
| 16 | |||
| 17 | /** |
||
| 18 | * @param mixed $value |
||
| 19 | */ |
||
| 20 | 1 | public function validate($value) : void |
|
| 24 | } |
||
| 25 | 1 | } |
|
| 27 |