1 | <?php namespace Sample\Validation; |
||
25 | class Rules extends \Limoncello\Validation\Rules |
||
26 | { |
||
27 | /** |
||
28 | * @return RuleInterface |
||
29 | */ |
||
30 | public static function sku(): RuleInterface |
||
34 | |||
35 | /** |
||
36 | * @param int $max |
||
37 | * |
||
38 | * @return RuleInterface |
||
39 | */ |
||
40 | public static function amount(int $max): RuleInterface |
||
46 | |||
47 | /** |
||
48 | * @return RuleInterface |
||
49 | */ |
||
50 | public static function deliveryDate(): RuleInterface |
||
54 | |||
55 | /** |
||
56 | * @return RuleInterface |
||
57 | */ |
||
58 | public static function email(): RuleInterface |
||
64 | |||
65 | /** |
||
66 | * @return RuleInterface |
||
67 | */ |
||
68 | public static function address1(): RuleInterface |
||
72 | |||
73 | /** |
||
74 | * @return RuleInterface |
||
75 | */ |
||
76 | public static function address2(): RuleInterface |
||
80 | |||
81 | /** |
||
82 | * @return RuleInterface |
||
83 | */ |
||
84 | public static function areTermsAccepted(): RuleInterface |
||
88 | } |
||
89 |