Completed
Push — master ( a7a477...e2599f )
by Thijs van den
03:38
created

LaravelCollectionMacrosServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace BitsnBolts\LaravelCollectionMacros;
4
5
use Illuminate\Support\Collection;
6
use Illuminate\Support\ServiceProvider;
7
use BitsnBolts\LaravelCollectionMacros\Macros\ReplaceInKeys;
8
9
class LaravelCollectionMacrosServiceProvider extends ServiceProvider
10
{
11
    /**
12
     * Bootstrap the application services.
13
     */
14
    public function boot()
15
    {
16
        Collection::macro('replaceInKeys', app(ReplaceInKeys::class)());
17
    }
18
19
    /**
20
     * Register the application services.
21
     */
22
    public function register()
23
    {
24
    }
25
}
26