mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
33 lines
670 B
PHP
33 lines
670 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
Model::unguard();
|
|
|
|
view()->share('telegram', 'https://t.me/archtechx');
|
|
view()->share('newsletter', 'https://newsletter.laravel-code.tips');
|
|
view()->share('twitter', 'https://twitter.com/LaravelCodeTips');
|
|
}
|
|
}
|