TranslationMatrix::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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