Completed
Push — master ( cad27a...4c05a1 )
by Elf
05:17
created

DatatablesServiceProvider::provides()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace ElfSundae\Laravel\Datatables;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class DatatablesServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register the service provider.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        $this->app->register(\Yajra\Datatables\DatatablesServiceProvider::class);
17
        $this->app->register(\Yajra\Datatables\HtmlServiceProvider::class);
18
        $this->app->register(\Yajra\Datatables\ButtonsServiceProvider::class);
19
20
        // Replace html builder binding.
21
        $this->app->bind('datatables.html', Html\Builder::class);
22
    }
23
}
24