CustomConnectionSqlanywhereServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Bludata\Lumen\Providers;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class CustomConnectionSqlanywhereServiceProvider extends ServiceProvider
8
{
9
    public function register()
10
    {
11
    }
12
13
    public function boot()
14
    {
15
        app('LaravelDoctrine\ORM\Configuration\Connections\ConnectionManager')->extend('sqlanywhere', function () {
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 80 characters; contains 115 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
16
            return config('database.connections.sqlanywhere');
17
        });
18
    }
19
}
20