summaryrefslogtreecommitdiff
path: root/src/ServiceProvider.php
blob: 40eb36f1575f07c5eb6f008a302e9763ea53e19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

namespace Lightscale\LaralightTables;

use Illuminate\Support\ServiceProvider as ServiceProviderBase;
use Illuminate\Support\Facades\Blade;
use Illuminate\Foundation\Console\AboutCommand;

class ServiceProvider extends ServiceProviderBase
{
    public function register() : void
    {

    }

    public function boot() : void
    {
        AboutCommand::add('Laralight Tables', fn() => [
            'Version' => 'dev'
        ]);

        //$this->loadTranslationsFrom(__DIR__ . '/../lang', Service::NAMESPACE);
        $this->loadViewsFrom(__DIR__ . '/../resources/views', Service::NAMESPACE);
        Blade::componentNamespace('Lightscale\\LaralightCms\\View\\Components', Service::NAMESPACE);
    }

}