我有对象结构,其中utils和utils.not采取相同的原型(与exist方法)。我简化它更清楚: var negative = true;
if(negative){
//when negative===true, I want to run exist() through not object
tests.utils.not.exist();
} else {
在我的页眉和页脚中有一些来自数据库的动态导航。所以我需要Laravel中每个站点上的数据库结果。 Laravel在Sharing Data With All Views下的文档是描述的方式。 所以我创建查询在AppServiceProvider下boot(): class AppServiceProvider extends ServiceProvider
{
public funct