DisplayFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace Sco\Admin\Display;
4
5
use Sco\Admin\Contracts\Display\DisplayFactoryInterface;
6
use Sco\Admin\Traits\AliasBinder;
7
8
/**
9
 * @method static Table table()
10
 * @method static Image image()
11
 */
12
class DisplayFactory implements DisplayFactoryInterface
13
{
14
    use AliasBinder;
15
16
    public function __construct()
17
    {
18
        $this->register([
19
            'table' => Table::class,
20
            'image' => Image::class,
21
        ]);
22
    }
23
}
24