PluginProbe
Booktics – Appointment Booking Calendar for Service Businesses / 1.0.29
Booktics – Appointment Booking Calendar for Service Businesses v1.0.29
1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 All 31 releases
← All changes | base/validation/rules/rule.php +27 -27 1.0.1 → 1.0.29 View file →
@@ -1,27 +1,27 @@
1 -<?php
2 -namespace Booktics\Validation\Rules;
3 -
4 -/**
5 - * Rule interface
6 - */
7 -interface Rule {
8 - /**
9 - * Check the validation rule passed or not
10 - *
11 - * @param string $field
12 - *
13 - * @param string $value
14 - *
15 - * @return bool
16 - */
17 - public function passes( $field, $value );
18 -
19 - /**
20 - * Set message for validation
21 - *
22 - * @param string $field
23 - *
24 - * @return string
25 - */
26 - public function message( $field );
27 -}
1 +<?php
2 +namespace Booktics\Validation\Rules;
3 +
4 +/**
5 + * Rule interface
6 + */
7 +interface Rule {
8 + /**
9 + * Check the validation rule passed or not
10 + *
11 + * @param string $field
12 + *
13 + * @param string $value
14 + *
15 + * @return bool
16 + */
17 + public function passes( $field, $value );
18 +
19 + /**
20 + * Set message for validation
21 + *
22 + * @param string $field
23 + *
24 + * @return string
25 + */
26 + public function message( $field );
27 +}