PHP code inside a Laravel 5 blade template

前端 未结 5 1082
名媛妹妹
名媛妹妹 2020-12-16 09:10

I have to place some PHP code inside a Laravel 5 blade template. Like below

@foreach ($farmer->tasks as $task)
    @if ($task->pivot->due_at) < da         


        
5条回答
提交回复
热议问题