Completed
Push — master ( 3e395d...4a7c7d )
by Elf
01:11
created

Connection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 28
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace ElfSundae\Laravel\Hashid;
4
5
abstract class Connection implements ConnectionInterface
6
{
7
    /**
8
     * The application instance.
9
     *
10
     * @var \Illuminate\Foundation\Application
11
     */
12
    protected $app;
13
14
    /**
15
     * The hashid connection configuration options.
16
     *
17
     * @var array
18
     */
19
    protected $config = [];
20
21
    /**
22
     * Create a new hashid connection instance.
23
     *
24
     * @param  \Illuminate\Foundation\Application  $app
25
     * @param  array  $config
26
     */
27
    public function __construct($app, $config)
28
    {
29
        $this->app = $app;
30
        $this->config = $config;
31
    }
32
}
33