1 | <?php |
||
7 | class Connection extends BaseConnection |
||
|
|||
8 | { |
||
9 | protected static $classes = []; |
||
10 | |||
11 | protected static $information_schema = []; |
||
12 | |||
13 | public static function RegisterTableToProvide($ModelOfTable) |
||
26 | |||
27 | protected $normalizer; |
||
28 | /** |
||
29 | * Run a select statement and return a single result. |
||
30 | * |
||
31 | * @param string $query |
||
32 | * @param array $bindings |
||
33 | * @return mixed |
||
34 | */ |
||
35 | public function selectOne($query, $bindings = array()) |
||
40 | /** |
||
41 | * Run a select statement against the database. |
||
42 | * |
||
43 | * @param string $query |
||
44 | * @param array $bindings |
||
45 | * @return \Stidges\LaravelDbNormalizer\Collection |
||
46 | */ |
||
47 | public function select($query, $bindings = array()) |
||
56 | |||
57 | private function ProcessSQL($query,$results){ |
||
60 | |||
61 | private static function getSQL($sql, $bindings) |
||
75 | } |
||
76 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString
.