TranslationMatrix   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 5 1
1
<?php
2
3
namespace BBSLab\NovaTranslation\Tools;
4
5
use BBSLab\NovaTranslation\NovaTranslationServiceProvider;
6
use Laravel\Nova\Nova;
7
use Laravel\Nova\Tool;
8
9
class TranslationMatrix extends Tool
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14
    public function boot()
15
    {
16
        Nova::script(NovaTranslationServiceProvider::PACKAGE_ID, __DIR__.'/../../dist/js/'.NovaTranslationServiceProvider::PACKAGE_ID.'.js');
17
        Nova::style(NovaTranslationServiceProvider::PACKAGE_ID, __DIR__.'/../../dist/css/'.NovaTranslationServiceProvider::PACKAGE_ID.'.css');
18
    }
19
}
20