1
<?php
2
/**
3
 * This file is part of the Shieldon package.
4
 *
5
 * (c) Terry L. <contact@terryl.in>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 * 
10
 * php version 7.1.0
11
 * 
12
 * @category  Web-security
13
 * @package   Shieldon
14
 * @author    Terry Lin <contact@terryl.in>
15
 * @copyright 2019 terrylinooo
16
 * @license   https://github.com/terrylinooo/shieldon/blob/2.x/LICENSE MIT
17
 * @link      https://github.com/terrylinooo/shieldon
18
 * @see       https://shieldon.io
19
 */
20

21
declare(strict_types=1);
22

23
namespace Shieldon\Firewall\Driver;
24

25
use Shieldon\Firewall\Driver\SqlDriverProvider;
26
use PDO;
27

28
/**
29
 * Mysql Driver.
30
 */
31
class MysqlDriver extends SqlDriverProvider
32
{
33
    /**
34
     * Constructor.
35
     *
36
     * @param PDO  $pdo   The PDO instance.
37
     * @param bool $debug The option to enable debugging or not.
38
     * 
39
     * @return void
40
     */
41 3
    public function __construct(PDO $pdo, bool $debug = false)
42
    {
43 3
        parent::__construct($pdo, $debug);
44
    }
45
}

Read our documentation on viewing source code .

Loading