File tree Expand file tree Collapse file tree 3 files changed +1244
-0
lines changed
class_map/Hyperf/Database Expand file tree Collapse file tree 3 files changed +1244
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+
4
+ declare (strict_types=1 );
5
+ /**
6
+ * @author kvnZero
7
+ * @contact kvnZero@github.com
8
+ * @time 2021/12/4 5:25 下午
9
+ */
10
+
11
+ namespace App \Event \ApiJson ;
12
+
13
+ class StatementComplete
14
+ {
15
+ /**
16
+ * The database connection instance.
17
+ *
18
+ * @var \Hyperf\Database\Connection
19
+ */
20
+ public $ connection ;
21
+
22
+ /**
23
+ * The PDO statement.
24
+ *
25
+ * @var \PDOStatement
26
+ */
27
+ public $ statement ;
28
+
29
+ /**
30
+ * Create a new event instance.
31
+ *
32
+ * @param \Hyperf\Database\Connection $connection
33
+ * @param \PDOStatement $statement
34
+ */
35
+ public function __construct ($ connection , $ statement )
36
+ {
37
+ $ this ->statement = $ statement ;
38
+ $ this ->connection = $ connection ;
39
+ }
40
+ }
You can’t perform that action at this time.
0 commit comments