Completed
Push — work-fleets ( 6b7253...c0452c )
by SuperNova.WS
06:17
created

DbMysqliResultIterator::fetchCurrentRow()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 0
cp 0
crap 2
rs 10
1
<?php
2
3
/**
4
 * Class DbMysqliResultIterator
5
 *
6
 * @property mysqli_result $_result
7
 */
8
class DbMysqliResultIterator extends DbResultIterator {
9
  protected function fetchCurrentRow() {
10
    $this->currentRow = $this->_result->fetch_assoc();
11
    // TODO: Implement fetchCurrentRow() method.
12
  }
13
14
  /**
15
   * Constructor
16
   *
17
   * @param mysqli_result $result
18
   * @param int           $fetchMode constant (MYSQLI_ASSOC, MYSQLI_NUM, MYSQLI_BOTH)
19
   */
20
  public function __construct($result, $fetchMode = MYSQLI_ASSOC) {
21
    parent::__construct($result, $fetchMode);
22
  }
23
24
}
25