1 | <?php |
||
23 | abstract class DbFixture extends Fixture |
||
24 | { |
||
25 | /** |
||
26 | * @var Connection|array|string the DB connection object or the application component ID of the DB connection. |
||
27 | * After the DbFixture object is created, if you want to change this property, you should only assign it |
||
28 | * with a DB connection object. |
||
29 | * Starting from version 2.0.2, this can also be a configuration array for creating the object. |
||
30 | */ |
||
31 | public $db = 'db'; |
||
32 | |||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | 6 | public function init() |
|
42 | } |
||
43 |