1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,22 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Contracts\Validation; |
|
4 |
- |
|
5 |
-interface Rule |
|
6 |
-{ |
|
7 |
- /** |
|
8 |
- * Determine if the validation rule passes. |
|
9 |
- * |
|
10 |
- * @param string $attribute |
|
11 |
- * @param mixed $value |
|
12 |
- * @return bool |
|
13 |
- */ |
|
14 |
- public function passes($attribute, $value); |
|
15 |
- |
|
16 |
- /** |
|
17 |
- * Get the validation error message. |
|
18 |
- * |
|
19 |
- * @return string|array |
|
20 |
- */ |
|
21 |
- public function message(); |
|
22 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,22 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Contracts\Validation; |
|
4 |
+ |
|
5 |
+interface Rule |
|
6 |
+{ |
|
7 |
+ /** |
|
8 |
+ * Determine if the validation rule passes. |
|
9 |
+ * |
|
10 |
+ * @param string $attribute |
|
11 |
+ * @param mixed $value |
|
12 |
+ * @return bool |
|
13 |
+ */ |
|
14 |
+ public function passes($attribute, $value); |
|
15 |
+ |
|
16 |
+ /** |
|
17 |
+ * Get the validation error message. |
|
18 |
+ * |
|
19 |
+ * @return string|array |
|
20 |
+ */ |
|
21 |
+ public function message(); |
|
22 |
+} |