Completed
Pull Request — master (#142)
by Bao
09:53
created

DynamoDb::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 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