Total Complexity | 5 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 55.56% |
Changes | 0 |
1 | <?php |
||
10 | class AzineQueryMock extends AbstractQuery |
||
11 | { |
||
12 | private $result; |
||
13 | |||
14 | 3 | public function __construct($result) |
|
15 | { |
||
16 | 3 | $this->result = $result; |
|
17 | 3 | } |
|
18 | |||
19 | protected function doExecute() |
||
20 | { |
||
21 | return; |
||
22 | } |
||
23 | |||
24 | 3 | protected function _doExecute() |
|
27 | } |
||
28 | |||
29 | public function execute($parameters = null, $hydrationMode = null) |
||
30 | { |
||
31 | return $this->result; |
||
32 | } |
||
33 | |||
34 | public function getSQL() |
||
37 | } |
||
38 | } |
||
39 |