1 | <?php |
||
14 | abstract class AbstractDriver |
||
15 | { |
||
16 | /** |
||
17 | * @var \PDO |
||
18 | */ |
||
19 | protected $pdo; |
||
20 | |||
21 | /** |
||
22 | * Returns the list of columns based on a query. |
||
23 | * |
||
24 | * @param string $table |
||
25 | * @param string $query |
||
26 | 69 | * @param array $columns |
|
27 | * @return \Rougin\Describe\Column[] |
||
28 | 69 | */ |
|
29 | protected function query($table, $query, $columns = array()) |
||
51 | |||
52 | /** |
||
53 | * Throws a TableNotFoundException. |
||
54 | * |
||
55 | * @param string $table |
||
56 | * @param string|null $text |
||
57 | * |
||
58 | * @throws \Rougin\Describe\Exceptions\TableNotFoundException |
||
59 | */ |
||
60 | protected function exception($table, $text = null) |
||
68 | } |
||
69 |