Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public static function create() |
||
29 | { |
||
30 | $self = new self(); |
||
31 | |||
32 | $andCondition = new AndCondition(); |
||
33 | $andCondition->addItem(new ColorValidator()); |
||
34 | $andCondition->addItem(new HeightValidator()); |
||
35 | $andCondition->addItem(new LengthValidator()); |
||
36 | $andCondition->addItem(new WidthValidator()); |
||
37 | |||
38 | $self->addCondition($andCondition); |
||
39 | |||
40 | return $self; |
||
41 | } |
||
42 | } |