Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
11 | abstract class Seed implements Seedable { |
||
12 | |||
13 | use Seeding; |
||
14 | |||
15 | /** |
||
16 | * Seed constructor. |
||
17 | * |
||
18 | * @param null $limit Number of item to seed |
||
|
|||
19 | */ |
||
20 | public function __construct($limit = null) { |
||
23 | } |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Populate database |
||
28 | * @return mixed |
||
29 | */ |
||
30 | abstract function seed(); |
||
31 | |||
32 | /** |
||
33 | * Removed seeded rows from database |
||
34 | * @return mixed |
||
35 | */ |
||
36 | abstract function unseed(); |
||
37 | |||
39 |