InvalidQueryException   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 26
ccs 0
cts 9
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getSQLString() 0 4 1
A setSQLString() 0 5 1
1
<?php
2
3
namespace Soluble\Normalist\Exception;
4
5
class InvalidQueryException extends ErrorException implements ExceptionInterface
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $sql_string;
11
12
    /**
13
     *
14
     * @return \Soluble\Normalist\Exception\InvalidQueryException
15
     */
16
    public function setSQLString($sql_string)
17
    {
18
        $this->sql_string = $sql_string;
19
        return $this;
20
    }
21
22
    /**
23
     *
24
     * @return string
25
     */
26
    public function getSQLString()
27
    {
28
        return $this->sql_string;
29
    }
30
}
31