AranguentTestServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 6 1
1
<?php
2
3
namespace TestSetup;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class AranguentTestServiceProvider extends ServiceProvider
8
{
9
    /**
10
     * Register services.
11
     *
12
     * @return void
13
     */
14
    public function register()
15
    {
16
        /**
17
         * We set the connection config here to allow testbench access outside of running tests.
18
         */
19
        TestConfig::set($this->app);
20
    }
21
}
22