Explorar el Código

Update comment

shalvah hace 3 años
padre
commit
6a001e403b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);