shalvah 3 gadi atpakaļ
vecāks
revīzija
6a001e403b
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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);