| 1 | <?php |
||
| 28 | class Result extends ResultAbstract |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * @var \PDOStatement |
||
| 32 | * @access protected |
||
| 33 | */ |
||
| 34 | protected $statement; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Invoke to set statement |
||
| 38 | * |
||
| 39 | * @param \PDOStatement $statement |
||
| 40 | * @return $this |
||
| 41 | * @access public |
||
| 42 | */ |
||
| 43 | public function __invoke(\PDOStatement $statement) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritDoc} |
||
| 51 | */ |
||
| 52 | public function fieldCount()/*# : int */ |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritDoc} |
||
| 59 | */ |
||
| 60 | public function rowCount()/*# : int */ |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritDoc} |
||
| 70 | */ |
||
| 71 | public function affectedRows()/*# : int */ |
||
| 75 | |||
| 76 | /** |
||
| 77 | * {@inheritDoc} |
||
| 78 | */ |
||
| 79 | protected function realFetchAll()/*# : array */ |
||
| 83 | |||
| 84 | /** |
||
| 85 | * {@inheritDoc} |
||
| 86 | */ |
||
| 87 | protected function realFetchRow($rowCount)/*# : array */ |
||
| 100 | } |
||
| 101 |