Completed
Push — master ( c1e7a0...3e714a )
by Patrick
02:57
created

DataSet   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 37
rs 10
c 0
b 0
f 0
wmc 7
lcom 0
cbo 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A offsetSet() 0 4 1
A offsetExists() 0 4 1
A offsetUnset() 0 4 1
A offsetGet() 0 4 1
A tableExists() 0 4 1
A getTable() 0 4 1
A raw_query() 0 4 1
1
<?php
2
3
namespace Data;
4
5
class DataSet implements \ArrayAccess
6
{
7
    public function offsetSet($offset, $value)
8
    {
9
        return;
10
    }
11
12
    public function offsetExists($offset)
13
    {
14
        return $this->tableExists($offset);
15
    }
16
17
    public function offsetUnset($offset)
18
    {
19
        return;
20
    }
21
22
    public function offsetGet($offset)
23
    {
24
        return $this->getTable($offset);
25
    }
26
27
    public function tableExists($name)
28
    {
29
        throw new \Exception('Unimplemented');
30
    }
31
32
    public function getTable($name)
33
    {
34
        throw new \Exception('Unimplemented');
35
    }
36
37
    public function raw_query($query)
0 ignored issues
show
Unused Code introduced by
The parameter $query is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
38
    {
39
        throw new \Exception('Unimplemented');
40
    }
41
}
42
43