Completed
Pull Request — master (#142)
by Bao
06:40
created

DynamoDb   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace BaoPham\DynamoDb\Facades;
4
5
use Aws\DynamoDb\DynamoDbClient;
6
use BaoPham\DynamoDb\DynamoDb\DynamoDbManager;
7
use BaoPham\DynamoDb\DynamoDb\QueryBuilder;
8
use Illuminate\Support\Facades\Facade;
9
10
/**
11
 * @method static DynamoDbClient client()
12
 * @method static QueryBuilder table($name)
13
 * @method static QueryBuilder newQuery()
14
 * @method static array marshalItem($item)
15
 * @method static array marshalValue($value)
16
 * @method static mixed unmarshalItem($value)
17
 * @method static mixed unmarshalValue($value)
18
 *
19
 * @see DynamoDbManager
20
 */
21
class DynamoDb extends Facade
22
{
23
    /**
24
     * Get the registered name of the component.
25
     *
26
     * @return string
27
     */
28 122
    protected static function getFacadeAccessor()
29
    {
30 122
        return 'dynamodb';
31
    }
32
}
33