您如何称呼在Laravel中具有双花括号的变量 [英] What do you call variables that have double curly braces in laravel

查看:121
本文介绍了您如何称呼在Laravel中具有双花括号的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出在Laravel中用双花括号包围的代码的名称.

I'm trying to find out a name for code that is surrounded by double curly braces in Laravel.

他们甚至有名字吗?它们在所有语言中都被称为双花括号吗?

Do they even have a name. Are they known as double curly braces in all languages.

我想知道的原因是我仍然不太了解它们的范围.我知道很多语言都在使用它们,但是它们的名字是什么?

The reason I want to know is that I still do not quite understand the scope of them. I know a lot of languages use them, but what is their name?

例如;如果我想知道为什么双花括号变量在Laravel @include中不起作用;我如何找到答案?

For instance; if I want to know why double curly brace variables don't work in a Laravel @include; how do I find out?

另一个例子是,我无法在堆栈交换中为双花括号添加标签,因为它不存在.

Another example is that I cannot add a tag on stack exchange for double-curly-braces because it does not exist.

搜索Google不会带来任何结果. 搜索堆栈交换是相同的.

Searching Google brings up nothing. Searching stack exchange is the same.

推荐答案

我称它们为刀片模板变量".

I call them "blade template variables."

这篇关于您如何称呼在Laravel中具有双花括号的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆