/** * Register any application services. * * @return void */ public function register() { $this->mergeConfigFrom(__DIR__ . '/../../../config/veer.php', 'veer'); \Blade::setRawTags('{{', '}}'); \Blade::setContentTags('{{{', '}}}'); \Blade::setEscapedContentTags('{{{', '}}}'); }
/** * 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('{{{', '}}}'); }
/** * 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 }
/** * 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('{{{', '}}}'); }
/** * Bootstrap any application services. * * @return void */ public function boot() { parent::boot(); \Blade::setRawTags('{{', '}}'); $this->cron(); }
/** * Register any application services. * * @return void */ public function register() { \Blade::setRawTags('{{', '}}'); \Blade::setContentTags('{{{', '}}}'); \Blade::setEscapedContentTags('{{{', '}}}'); }
<?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');