当前位置: 首页>>代码示例>>PHP>>正文


PHP Blade::setRawTags方法代码示例

本文整理汇总了PHP中Blade::setRawTags方法的典型用法代码示例。如果您正苦于以下问题:PHP Blade::setRawTags方法的具体用法?PHP Blade::setRawTags怎么用?PHP Blade::setRawTags使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Blade的用法示例。


在下文中一共展示了Blade::setRawTags方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: register

 /**
  * Register any application services.
  *
  * @return void
  */
 public function register()
 {
     $this->mergeConfigFrom(__DIR__ . '/../../../config/veer.php', 'veer');
     \Blade::setRawTags('{{', '}}');
     \Blade::setContentTags('{{{', '}}}');
     \Blade::setEscapedContentTags('{{{', '}}}');
 }
开发者ID:artemsk,项目名称:veer-core,代码行数:12,代码来源:AppServiceProvider.php

示例2: register

 /**
  * Register any application services.
  *
  * @return void
  */
 public function register()
 {
     $this->app->bind('Illuminate\\Contracts\\Auth\\Registrar', 'App\\Services\\Registrar');
     \Blade::setRawTags('{{', '}}');
     \Blade::setContentTags('{{{', '}}}');
     \Blade::setEscapedContentTags('{{{', '}}}');
 }
开发者ID:bayudarmantra,项目名称:collaborative,代码行数:12,代码来源:AppServiceProvider.php

示例3: boot

 /**
  * Bootstrap any application services.
  *
  * @return void
  */
 public function boot()
 {
     parent::boot();
     \Blade::setRawTags("[[", "]]");
     \Blade::setContentTags('<%', '%>');
     // for variables and all things Blade
     \Blade::setEscapedContentTags('<%%', '%%>');
     // for escaped data
 }
开发者ID:jtpenny,项目名称:laratasks,代码行数:14,代码来源:AppServiceProvider.php

示例4: register

 /**
  * Register any application services.
  *
  * This service provider is a great spot to register your various container
  * bindings with the application. As you can see, we are registering our
  * "Registrar" implementation here. You can add your own bindings too!
  *
  * @return void
  */
 public function register()
 {
     $this->app->bind('Illuminate\\Contracts\\Auth\\Registrar', 'Symposium\\Services\\Registrar');
     $this->app->bind('form', function () {
         return new \Illuminate\Html\FormBuilder($this->app->make('Illuminate\\Html\\HtmlBuilder'), $this->app->make('Illuminate\\Routing\\UrlGenerator'), csrf_token());
     });
     $this->app->alias('ttwitter', 'Thujohn\\Twitter\\Twitter');
     \Blade::setRawTags('{{', '}}');
     \Blade::setContentTags('{{{', '}}}');
     \Blade::setEscapedContentTags('{{{', '}}}');
 }
开发者ID:jwalton512,项目名称:symposium,代码行数:20,代码来源:AppServiceProvider.php

示例5: boot

 /**
  * Bootstrap any application services.
  *
  * @return void
  */
 public function boot()
 {
     parent::boot();
     \Blade::setRawTags('{{', '}}');
     $this->cron();
 }
开发者ID:jhospina,项目名称:Project-Egolas,代码行数:11,代码来源:AppServiceProvider.php

示例6: register

 /**
  * Register any application services.
  *
  * @return void
  */
 public function register()
 {
     \Blade::setRawTags('{{', '}}');
     \Blade::setContentTags('{{{', '}}}');
     \Blade::setEscapedContentTags('{{{', '}}}');
 }
开发者ID:echiteri,项目名称:iBLIS,代码行数:11,代码来源:AppServiceProvider.php

示例7: function

<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Blade::setRawTags('{{', '}}');
Route::get('/', 'WelcomeController@index');
Route::controllers(['auth' => 'Auth\\AuthController', 'password' => 'Auth\\PasswordController']);
Route::group(['prefix' => 'user', 'namespace' => 'User', 'middleware' => 'auth'], function () {
    Route::get('/', 'UserController@index');
    Route::get('home', 'UserController@index');
    Route::get('info', 'UserController@getInfo');
    Route::post('info', 'UserController@postInfo');
    Route::get('ad/create', 'AdController@create');
    Route::get('ad/waiting-list', 'AdController@getWaitingList');
    Route::get('ad/passed-list', 'AdController@getPassedList');
    Route::get('ad/rejected-list', 'AdController@getRejectedList');
    Route::resource('ad', 'AdController');
});
Route::group(['prefix' => 'admin', 'namespace' => 'Admin', 'middleware' => 'auth'], function () {
    Route::get('/', 'AdminController@index');
    Route::get('home', 'AdminController@index');
    Route::get('info', 'AdminController@getInfo');
    Route::get('ad/waiting-list', 'AdController@getWaitingList');
开发者ID:ADWALL,项目名称:ADWALL,代码行数:31,代码来源:routes.php


注:本文中的Blade::setRawTags方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。