當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。