1 | <?php |
||
19 | final class Pdo |
||
20 | { |
||
21 | public const DATE_FORMAT = 'Y-m-d H:i:s'; |
||
22 | |||
23 | private $pdo; |
||
24 | |||
25 | public function __construct(\PDO $pdo) |
||
29 | |||
30 | public function exec($statement) : int |
||
34 | |||
35 | public function beginTransaction() : void |
||
39 | |||
40 | public function commit() : void |
||
44 | |||
45 | public function rollback() : void |
||
49 | |||
50 | public function execute($sql, array $parameters) : \PDOStatement |
||
61 | } |
||
62 |