1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Providers/RotessaServiceProvider.php
2024-07-03 20:58:51 -04:00

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);
}
}