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 */ |
||
64 | |||
65 | /** |
||
66 | * {@inheritDoc} |
||
67 | */ |
||
68 | public function affectedRows()/*# : int */ |
||
72 | |||
73 | /** |
||
74 | * {@inheritDoc} |
||
75 | */ |
||
76 | public function close() |
||
82 | |||
83 | /** |
||
84 | * {@inheritDoc} |
||
85 | */ |
||
86 | protected function realFetchAll()/*# : array */ |
||
90 | |||
91 | /** |
||
92 | * {@inheritDoc} |
||
93 | */ |
||
94 | protected function realFetchRow($rowCount)/*# : array */ |
||
107 | } |
||
108 |