LaravelSiftScience::provides()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Pablumfication\LaravelSiftScience\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class LaravelSiftScience extends ServiceProvider
8
{
9
    /**
10
     * Perform post-registration booting of services.
11
     *
12
     * @return void
13
     */
14
    public function boot()
15
    {
16
        $this->app->bind(
17
            'LaravelSiftScience',
18
            \Pablumfication\LaravelSiftScience\Services\SiftScienceService::class
19
        );
20
    }
21
22
    /**
23
     * Register any package services.
24
     *
25
     * @return void
26
     */
27
    public function register()
28
    {
29
        $this->mergeConfigFrom(
30
            __DIR__ . '/../../config/laravel-sift-science.php',
31
            'laravel-sift-science'
32
        );
33
    }
34
35
    /**
36
     * Get the services provided by the provider.
37
     *
38
     * @return array
39
     */
40
    public function provides()
41
    {
42
        return [];
43
    }
44
}
45