| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | abstract class AbstractCommandPDOProvider |
||
| 10 | { |
||
| 11 | public function bindParam(): array |
||
| 12 | { |
||
| 13 | return [ |
||
| 14 | [ |
||
| 15 | 'id', |
||
| 16 | ':id', |
||
| 17 | 1, |
||
| 18 | PDO::PARAM_STR, |
||
| 19 | null, |
||
| 20 | null, |
||
| 21 | [ |
||
| 22 | 'id' => '1', |
||
| 23 | 'email' => '[email protected]', |
||
| 24 | 'name' => 'user1', |
||
| 25 | 'address' => 'address1', |
||
| 26 | 'status' => '1', |
||
| 27 | 'profile_id' => '1', |
||
| 28 | ], |
||
| 29 | ], |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function bindParamsNonWhere(): array |
||
| 48 | SELECT SUBSTR(name, :len) FROM [[customer]] WHERE [[email]] = :email |
||
| 49 | SQL, |
||
| 54 |