Kaynağa Gözat

Update comment

shalvah 3 yıl önce
ebeveyn
işleme
6a001e403b
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      src/Tools/Utils.php

+ 1 - 0
src/Tools/Utils.php

@@ -199,6 +199,7 @@ class Utils
 
             foreach ($relations as $relation) {
                 // Support nested relations; see https://github.com/knuckleswtf/scribe/pull/364 for a detailed example
+                // Example: App\Models\Author with=posts.categories
                 $relationChain = explode('.', $relation);
                 $relationVector = array_shift($relationChain);