We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e7e07 commit 85ab93cCopy full SHA for 85ab93c
src/Schema/Field/Relationship.php
@@ -46,6 +46,16 @@ public function includable(): static
46
return $this;
47
}
48
49
+ /**
50
+ * Don't allow this relationship to be included.
51
+ */
52
+ public function notIncludable(): static
53
+ {
54
+ $this->includable = false;
55
+
56
+ return $this;
57
+ }
58
59
/**
60
* Include linkage for this relationship.
61
*/
0 commit comments