1 | <?php |
||
14 | class MySqlConnection extends Connection implements ConnectionInterface |
||
15 | { |
||
16 | /** |
||
17 | * Get the default query grammar instance. |
||
18 | * |
||
19 | * @return \Childish\query\QueryGrammar |
||
20 | */ |
||
21 | protected function getDefaultQueryGrammar() |
||
25 | |||
26 | /** |
||
27 | * Bind values to their parameters in the given statement. |
||
28 | * |
||
29 | * @param \PDOStatement $statement |
||
30 | * @param array $bindings |
||
31 | * @return void |
||
32 | */ |
||
33 | public function bindValues($statement, $bindings) |
||
42 | |||
43 | /** |
||
44 | * Establish a database connection. |
||
45 | * |
||
46 | * @param array $config |
||
47 | * @return \PDO |
||
48 | */ |
||
49 | public function connect(array $config) |
||
75 | |||
76 | /** |
||
77 | * Set the connection character set and collation. |
||
78 | * |
||
79 | * @param \PDO $connection |
||
80 | * @param array $config |
||
81 | * @return void |
||
82 | */ |
||
83 | protected function configureEncoding($connection, array $config) |
||
93 | |||
94 | /** |
||
95 | * Get the collation for the configuration. |
||
96 | * |
||
97 | * @param array $config |
||
98 | * @return string |
||
99 | */ |
||
100 | protected function getCollation(array $config) |
||
104 | |||
105 | /** |
||
106 | * Set the timezone on the connection. |
||
107 | * |
||
108 | * @param \PDO $connection |
||
109 | * @param array $config |
||
110 | * @return void |
||
111 | */ |
||
112 | protected function configureTimezone($connection, array $config) |
||
118 | |||
119 | /** |
||
120 | * Create a DSN string from a configuration. |
||
121 | * |
||
122 | * Chooses socket or host/port based on the 'unix_socket' config value. |
||
123 | * |
||
124 | * @param array $config |
||
125 | * @return string |
||
126 | */ |
||
127 | protected function getDsn(array $config) |
||
133 | |||
134 | /** |
||
135 | * Determine if the given configuration array has a UNIX socket value. |
||
136 | * |
||
137 | * @param array $config |
||
138 | * @return bool |
||
139 | */ |
||
140 | protected function hasSocket(array $config) |
||
144 | |||
145 | /** |
||
146 | * Get the DSN string for a socket configuration. |
||
147 | * |
||
148 | * @param array $config |
||
149 | * @return string |
||
150 | */ |
||
151 | protected function getSocketDsn(array $config) |
||
155 | |||
156 | /** |
||
157 | * Get the DSN string for a host / port configuration. |
||
158 | * |
||
159 | * @param array $config |
||
160 | * @return string |
||
161 | */ |
||
162 | protected function getHostDsn(array $config) |
||
170 | |||
171 | /** |
||
172 | * Set the modes for the connection. |
||
173 | * |
||
174 | * @param \PDO $connection |
||
175 | * @param array $config |
||
176 | * @return void |
||
177 | */ |
||
178 | protected function setModes(PDO $connection, array $config) |
||
190 | |||
191 | /** |
||
192 | * Set the custom modes on the connection. |
||
193 | * |
||
194 | * @param \PDO $connection |
||
195 | * @param array $config |
||
196 | * @return void |
||
197 | */ |
||
198 | protected function setCustomModes(PDO $connection, array $config) |
||
204 | |||
205 | /** |
||
206 | * Get the query to enable strict mode. |
||
207 | * |
||
208 | * @return string |
||
209 | */ |
||
210 | protected function strictMode() |
||
214 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.