1 | <?php |
||
42 | abstract class DriverAbstract extends ObjectAbstract implements DriverInterface, TagAwareInterface |
||
43 | { |
||
44 | use ConnectTrait, TransactionTrait, ErrorAwareTrait, ProfilerAwareTrait, TagAwareTrait; |
||
45 | |||
46 | /** |
||
47 | * Statement prototype |
||
48 | * |
||
49 | * @var StatementInterface |
||
50 | * @access protected |
||
51 | */ |
||
52 | protected $statement_prototype; |
||
53 | |||
54 | /** |
||
55 | * current statement |
||
56 | * |
||
57 | * @var StatementInterface |
||
58 | * @access protected |
||
59 | */ |
||
60 | protected $statement; |
||
61 | |||
62 | /** |
||
63 | * constructor |
||
64 | * |
||
65 | * @param array $parameters |
||
66 | * @throws LogicException driver specific extension not loaded |
||
67 | * @access public |
||
68 | */ |
||
69 | public function __construct(array $parameters) |
||
79 | |||
80 | /** |
||
81 | * {@inheritDoc} |
||
82 | */ |
||
83 | public function prepare(/*# string */ $sql)/*# : bool */ |
||
99 | |||
100 | /** |
||
101 | * {@inheritDoc} |
||
102 | */ |
||
103 | public function getStatement()/*# : StatementInterface */ |
||
113 | |||
114 | /** |
||
115 | * {@inheritDoc} |
||
116 | */ |
||
117 | public function query( |
||
128 | |||
129 | /** |
||
130 | * {@inheritDoc} |
||
131 | */ |
||
132 | public function getResult()/*# : ResultInterface */ |
||
136 | |||
137 | /** |
||
138 | * {@inheritDoc} |
||
139 | */ |
||
140 | public function affectedRows()/*# : int */ |
||
148 | |||
149 | /** |
||
150 | * {@inheritDoc} |
||
151 | */ |
||
152 | public function lastInsertId($name = null) |
||
159 | |||
160 | /** |
||
161 | * {@inheritDoc} |
||
162 | */ |
||
163 | public function quote( |
||
173 | |||
174 | /** |
||
175 | * Check driver specific extension loaded or not |
||
176 | * |
||
177 | * @return bool |
||
178 | * @access protected |
||
179 | */ |
||
180 | abstract protected function extensionLoaded()/*# : bool */; |
||
181 | |||
182 | /** |
||
183 | * Driver specific last inserted id |
||
184 | * |
||
185 | * @param string|null $name sequence name |
||
186 | * @return string|null |
||
187 | * @access protected |
||
188 | */ |
||
189 | abstract protected function realLastId($name); |
||
190 | |||
191 | /** |
||
192 | * The real quote method |
||
193 | * |
||
194 | * @param mixed $string |
||
195 | * @param int $type |
||
196 | * @return string |
||
197 | * @access protected |
||
198 | */ |
||
199 | abstract protected function realQuote( |
||
203 | } |
||
204 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.