Completed
Push — master ( 5d4b38...5a8a22 )
by wen
02:45
created

ViewFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
dl 0
loc 11
c 1
b 1
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

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