AbstractComparisonOperatorNode::getField()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace Xiag\Rql\Parser\Node\Query;
3
4
use Xiag\Rql\Parser\Node\AbstractQueryNode;
5
6
/**
7
 * @codeCoverageIgnore
8
 */
9
abstract class AbstractComparisonOperatorNode extends AbstractQueryNode
10
{
11
    /**
12
     * @var string
13
     */
14
    protected $field;
15
16
    /**
17
     * @return string
18
     */
19
    public function getField()
20
    {
21
        return $this->field;
22
    }
23
24
    /**
25
     * @param string $field
26
     * @return void
27
     */
28
    public function setField($field)
29
    {
30
        $this->field = $field;
31
    }
32
}
33