tissue/app/Providers/ViewComposerServiceProvider.php

31 lines
552 B
PHP
Raw Normal View History

<?php
namespace App\Providers;
use App\Http\ViewComposers\ProfileComposer;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class ViewComposerServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
View::composer('components.profile', ProfileComposer::class);
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
//
}
}