С
Size: a a a
С
С
С
С
С
AC
A
Р
{% set restaurant = Item.active(1).first() %}
{% if not restaurant %}
{# return 404 here #}
{% endif %}
VS
{% set restaurant = Item.active(1).first() %}
{% if not restaurant %}
{# return 404 here #}
{% endif %}
Р
public function makeModel(){
return ItemModel::make();
}
[Item]
==
{% set restaurant = Item.active(1).first() %}
{% if not restaurant %}
{# return 404 here #}
{% endif %}
N
S
{% for item in items%}
{%if loop.index0 < 2 %}
design one
{%else%}
design2
{%endif%}
{%endfor%}
S
N
S
N
A
N
{% for item in items%}
{%if loop.index0 < 2 %}
design one
{%else%}
design2
{%endif%}
{%endfor%}
A
AP