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

ViewFactory::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
dl 0
loc 6
c 1
b 1
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
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