| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | abstract class Base implements Iface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Fetch mode returning numerically indexed record arrays |
||
| 25 | */ |
||
| 26 | const FETCH_NUM = 0; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Fetch mode returning associative indexed record arrays |
||
| 30 | */ |
||
| 31 | const FETCH_ASSOC = 1; |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * Retrieves all row from database result set. |
||
| 36 | * |
||
| 37 | * @param int $style The data can be returned as associative or numerical array |
||
| 38 | * @return array Numeric or associative array of columns returned by the database |
||
| 39 | */ |
||
| 40 | public function all( int $style = \Aimeos\Base\DB\Result\Base::FETCH_ASSOC ) : array |
||
| 51 |