summaryrefslogtreecommitdiff
path: root/src/ServiceProvider.php
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2023-11-05 19:38:00 +0000
committerSam Light <samlight1994@gmail.com>2023-11-05 19:38:00 +0000
commit5c24746657ac23c7a65c4e4efc89cf6bfcb5a52c (patch)
tree3de215fe85096429e615127172a2cee0b56661b0 /src/ServiceProvider.php
parentbb6795b604e5686ee069c48dd7f7ce8cc3bf73c3 (diff)
Built basic table
Diffstat (limited to 'src/ServiceProvider.php')
-rw-r--r--src/ServiceProvider.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php
new file mode 100644
index 0000000..40eb36f
--- /dev/null
+++ b/src/ServiceProvider.php
@@ -0,0 +1,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);
+ }
+
+}