How to write Laravel's blade template if expression with two conditions?
This is a condition:
@if (Auth::check())
@endif
Question:
If there are two conditions, "and" and "or", how should I write them?
//“或”这样写可以吗?“与”呢?
@if (Auth::check()|Entrust::hasRole('seller'))
@endif
This is the same as the normal AND or in PHP