You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blade.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -352,6 +352,8 @@ You may also pass a fourth argument to the `@each` directive. This argument dete
352
352
353
353
@each('view.name', $jobs, 'job', 'view.empty')
354
354
355
+
> {note} Views rendered via `@each` do not inherit the variables from the parent view. If the child view requires these variables, you should use `@foreach` and `@include` instead.
0 commit comments