Completed
Push — master ( ff3d5b...77ffdb )
by hook
06:35
created

DB::config()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Hoooklife\DynamodbPodm;
3
use Hoooklife\DynamodbPodm\Query\Builder;
4
class DB {
5
    public static $config = [];
6
7
    public static function config(array $config)
8
    {
9
        self::$config = $config;
10
    }
11
    
12
    public static function table(string $table) {
13
        $query = new Builder();
14
        $query->from($table);
15
16
        return $query;
17
    }
18
    
19
20
}