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
Update @content_tag_for Blade directives to be able to use all data available from the current view.
<?php $myLocaleVariable = 'cool'; ?>
@div_for($project)
@if (isset($myLocaleVariable))
My text
@endif
@end_div_for()
And fix the support of Collections/arrays who implement the IteratorAggregate interface:
<?php $users = App\User::all(); ?>
@div_for($users) as ($user)
{{ $userIndex }}
{{ $user->name }}
@end_div_for
0 commit comments