درس قبلی
Foreach, and the Loop Object

Foreach, and the Loop Object

Foreach, and the Loop Object

قسمت 7
درس بعدی

درباره این درس

This next addition to Laravel 5.3 is a small, but useful one. When using the foreach or forelse Blade directives, you'll now have a new $loop object available to each iteration. This will provide useful information about the loop, including the current index, if it's the first or last item, if there are remaining iterations for the loop, and more.
دیدگاه های کاربران

× در حال پاسخ به: