📜  laravel 刀片所有语法描述 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:25.045000             🧑  作者: Mango

代码示例1
@foreach ($users as $user)
    @if ($user->type == 1)
        @continue
    @endif

    
  • {{ $user->name }}
  • @if ($user->number == 5) @break @endif @endforeach