AbstractQuery::getValues()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * @author Jared King <[email protected]>
5
 *
6
 * @link http://jaredtking.com
7
 *
8
 * @copyright 2015 Jared King
9
 * @license MIT
10
 */
11
namespace JAQB\Query;
12
13
abstract class AbstractQuery
14
{
15
    /**
16
     * @var array
17
     */
18
    protected $values = [];
19
20
    /**
21
     * Builds a SQL string for the query.
22
     *
23
     * @return string SQL
24
     */
25
    abstract public function build();
26
27
    /**
28
     * Gets the parameterized values associated with this query.
29
     *
30
     * @return array
31
     */
32
    public function getValues()
33
    {
34
        return $this->values;
35
    }
36
}
37