InternalSettingsConnection::select()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 2
ccs 0
cts 0
cp 0
rs 10
cc 1
nc 1
nop 3
crap 2
1
<?php
2
3
namespace Thinkone\NovaPageSettings\QueryAdapter;
4
5
use Closure;
6
use Illuminate\Database\ConnectionInterface;
7
8
class InternalSettingsConnection implements ConnectionInterface
9
{
10 3
    public function getName(): string
11
    {
12 3
        return config('nova-page-settings.db_connection');
13
    }
14
15
    /**
16
     * @codeCoverageIgnore
17
     */
18
    public function table($table, $as = null)
19
    {
20
        return '';
21
    }
22
23
    /**
24
     * @codeCoverageIgnore
25
     */
26
    public function raw($value)
27
    {
28
        // unused
29
    }
30
31
    /**
32
     * @codeCoverageIgnore
33
     */
34
    public function selectOne($query, $bindings = [], $useReadPdo = true)
35
    {
36
        // unused
37
    }
38
39
    /**
40
     * @codeCoverageIgnore
41
     */
42
    public function select($query, $bindings = [], $useReadPdo = true)
43
    {
44
        // unused
45
    }
46
47
    /**
48
     * @codeCoverageIgnore
49
     */
50
    public function cursor($query, $bindings = [], $useReadPdo = true)
51
    {
52
        // unused
53
    }
54
55
    /**
56
     * @codeCoverageIgnore
57
     */
58
    public function insert($query, $bindings = [])
59
    {
60
        // unused
61
    }
62
63
    /**
64
     * @codeCoverageIgnore
65
     */
66
    public function update($query, $bindings = [])
67
    {
68
        // unused
69
    }
70
71
    /**
72
     * @codeCoverageIgnore
73
     */
74
    public function delete($query, $bindings = [])
75
    {
76
        // unused
77
    }
78
79
    /**
80
     * @codeCoverageIgnore
81
     */
82
    public function statement($query, $bindings = [])
83
    {
84
        // unused
85
    }
86
87
    /**
88
     * @codeCoverageIgnore
89
     */
90
    public function affectingStatement($query, $bindings = [])
91
    {
92
        // unused
93
    }
94
95
    /**
96
     * @codeCoverageIgnore
97
     */
98
    public function unprepared($query)
99
    {
100
        // unused
101
    }
102
103
    /**
104
     * @codeCoverageIgnore
105
     */
106
    public function prepareBindings(array $bindings)
107
    {
108
        // unused
109
    }
110
111
    /**
112
     * @codeCoverageIgnore
113
     */
114
    public function transaction(Closure $callback, $attempts = 1)
115
    {
116
        // unused
117
    }
118
119
    /**
120
     * @codeCoverageIgnore
121
     */
122
    public function beginTransaction()
123
    {
124
        // unused
125
    }
126
127
    /**
128
     * @codeCoverageIgnore
129
     */
130
    public function commit()
131
    {
132
        // unused
133
    }
134
135
    /**
136
     * @codeCoverageIgnore
137
     */
138
    public function rollBack()
139
    {
140
        // unused
141
    }
142
143
    /**
144
     * @codeCoverageIgnore
145
     */
146
    public function transactionLevel()
147
    {
148
        // unused
149
    }
150
151
    /**
152
     * @codeCoverageIgnore
153
     */
154
    public function pretend(Closure $callback)
155
    {
156
        // unused
157
    }
158
159
    /**
160
     * @codeCoverageIgnore
161
     */
162
    public function getDatabaseName()
163
    {
164
        // unused
165
    }
166
}
167