| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class MySqlEscapeHelper implements EscapeHelper |
||
| 13 | { |
||
| 14 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 15 | /** |
||
| 16 | * The connection to the MySQL or MariaDB instance. |
||
| 17 | * |
||
| 18 | * @var MySqlMetadataLayer |
||
| 19 | */ |
||
| 20 | private MySqlMetadataLayer $dl; |
||
| 21 | |||
| 22 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 23 | /** |
||
| 24 | * Object constructor. |
||
| 25 | */ |
||
| 26 | public function __construct(MySqlMetadataLayer $dl) |
||
| 29 | } |
||
| 30 | |||
| 31 | //-------------------------------------------------------------------------------------------------------------------- |
||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | public function escapeString(string $string): string |
||
| 44 |