We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bbb6bb + c4691cb commit 734a998Copy full SHA for 734a998
src/Concerns/AutoloadsRelationships.php
@@ -24,6 +24,10 @@ trait AutoloadsRelationships
24
*/
25
protected $parentCollection = null;
26
27
+ /**
28
+ * Check to see if we should autoload
29
+ * @return bool
30
+ */
31
private function shouldAutoLoad(): bool
32
{
33
return ($this->parentCollection
@@ -76,7 +80,7 @@ public function newCollection(array $models = []): Collection
76
80
}
77
81
78
82
/**
79
- * Disable autoloading of relationships via this model
83
+ * Disable autoloading of relationships on this model
84
* @return Model
85
86
public function disableAutoload(): Model
0 commit comments