SourceTableNode::setWhere()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Graze\DataDb;
4
5
class SourceTableNode extends TableNode implements SourceTableNodeInterface
6
{
7
    /** @var string */
8
    protected $where;
9
10
    /**
11
     * @param string $where
12
     *
13
     * @return static
14
     */
15
    public function setWhere($where)
16
    {
17
        $this->where = $where;
18
        return $this;
19
    }
20
21
    /**
22
     * @return string
23
     */
24
    public function getWhere()
25
    {
26
        return $this->where;
27
    }
28
}
29