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

DB   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A table() 0 5 1
A config() 0 3 1
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
}