mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 21:37:34 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			694 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			694 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Providers;
 | 
						|
 | 
						|
use Illuminate\Support\Facades\Blade;
 | 
						|
use Illuminate\Support\ServiceProvider as BaseProvider;
 | 
						|
 | 
						|
class RotessaServiceProvider extends BaseProvider
 | 
						|
{
 | 
						|
    protected string $moduleName = 'Rotessa';
 | 
						|
 | 
						|
    protected string $moduleNameLower = 'rotessa';
 | 
						|
 | 
						|
    /**
 | 
						|
     * Boot the application events.
 | 
						|
     */
 | 
						|
    public function boot(): void
 | 
						|
    {
 | 
						|
        include_once app_path('Http/ViewComposers/RotessaComposer.php');
 | 
						|
 | 
						|
        $this->registerComponent();
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * Register views.
 | 
						|
     */
 | 
						|
    public function registerComponent(): void
 | 
						|
    {
 | 
						|
        Blade::componentNamespace('App\\Http\\ViewComposers\\Components\\Rotessa', $this->moduleNameLower);
 | 
						|
    }
 | 
						|
}
 |