Completed
Push — master ( 8677c5...0f9d3b )
by Orkhan
02:31
created

ZipValidatorServiceProvider::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Orkhanahmadov\ZipValidator;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class ZipValidatorServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap the application services.
11
     */
12
    public function boot()
13
    {
14
        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'zipValidator');
15
16
        if ($this->app->runningInConsole()) {
17
            $this->publishes([
18
                __DIR__ . '/../resources/lang' => resource_path('lang/vendor/zipValidator'),
19
            ], 'lang');
20
        }
21
    }
22
23
    /**
24
     * Register the application services.
25
     */
26
    public function register()
27
    {
28
    }
29
}
30