This repository was archived by the owner on Feb 10, 2019. It is now read-only.
File tree 3 files changed +39
-0
lines changed
src/Folklore/GraphQL/Console/stubs 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,19 @@ class DummyClass extends Field
39
39
];
40
40
}
41
41
42
+ /**
43
+ * Overwrite rules at any part in the tree of field arguments.
44
+ *
45
+ * The rules defined in here take precedence over the rules that are
46
+ * defined inline or inferred from nested Input Objects.
47
+ *
48
+ * @return array
49
+ */
50
+ public function rules()
51
+ {
52
+ return [];
53
+ }
54
+
42
55
/**
43
56
* Return a result for the field which should match up with its return type.
44
57
*
Original file line number Diff line number Diff line change @@ -39,6 +39,19 @@ class DummyClass extends Mutation
39
39
];
40
40
}
41
41
42
+ /**
43
+ * Overwrite rules at any part in the tree of field arguments.
44
+ *
45
+ * The rules defined in here take precedence over the rules that are
46
+ * defined inline or inferred from nested Input Objects.
47
+ *
48
+ * @return array
49
+ */
50
+ public function rules()
51
+ {
52
+ return [];
53
+ }
54
+
42
55
/**
43
56
* Return a result for the field which should match up with its return type.
44
57
*
Original file line number Diff line number Diff line change @@ -39,6 +39,19 @@ class DummyClass extends Query
39
39
];
40
40
}
41
41
42
+ /**
43
+ * Overwrite rules at any part in the tree of field arguments.
44
+ *
45
+ * The rules defined in here take precedence over the rules that are
46
+ * defined inline or inferred from nested Input Objects.
47
+ *
48
+ * @return array
49
+ */
50
+ public function rules()
51
+ {
52
+ return [];
53
+ }
54
+
42
55
/**
43
56
* Return a result for the field which should match up with its return type.
44
57
*
You can’t perform that action at this time.
0 commit comments