Test Failed
Push — master ( c3c922...6dbcd5 )
by Stephen
54s queued 12s
created

S3HelpersServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 24
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
A register() 0 4 1
1
<?php
2
3
namespace Sfneal\Helpers\Aws\S3\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class S3HelpersServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Bootstrap any CrudModelAction services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        // Publish config file
17
        $this->publishes([
18
            __DIR__.'/../../config/s3-helpers.php' => config_path('s3-helpers.php'),
19
        ], 'config');
20
    }
21
22
    /**
23
     * Register any CrudModelAction services.
24
     *
25
     * @return void
26
     */
27
    public function register()
28
    {
29
        // Load config file
30
        $this->mergeConfigFrom(__DIR__.'/../../config/s3-helpers.php', 's3-helpers');
31
    }
32
}
33