| 1 | <?php |
||
| 14 | class CodeIgniterDriver implements DriverInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \Rougin\Describe\Driver\DriverInterface|null |
||
| 18 | */ |
||
| 19 | protected $driver = null; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Gets the specified driver from the specified database connection. |
||
| 23 | * |
||
| 24 | * @param array $database |
||
| 25 | */ |
||
| 26 | 18 | public function __construct(array $database) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * Returns the result. |
||
| 55 | * |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | 12 | public function getTable($table) |
|
| 62 | |||
| 63 | /** |
||
| 64 | * Shows the list of tables. |
||
| 65 | * |
||
| 66 | * @return array |
||
| 67 | */ |
||
| 68 | 6 | public function showTables() |
|
| 72 | } |
||
| 73 |