mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 07:33:04 +01: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);
|
|
}
|
|
}
|