1 | <?php namespace Anomaly\DashboardModule\Seeder; |
||
16 | class WidgetSeeder extends Seeder |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * The widget repository. |
||
21 | * |
||
22 | * @var WidgetRepositoryInterface |
||
23 | */ |
||
24 | protected $widgets; |
||
25 | |||
26 | /** |
||
27 | * The dashboard repository. |
||
28 | * |
||
29 | * @var DashboardRepositoryInterface |
||
30 | */ |
||
31 | protected $dashboards; |
||
32 | |||
33 | /** |
||
34 | * The configuration repository. |
||
35 | * |
||
36 | * @var ConfigurationRepositoryInterface |
||
37 | */ |
||
38 | protected $configuration; |
||
39 | |||
40 | /** |
||
41 | * Create a new WidgetSeeder instance. |
||
42 | * |
||
43 | * @param WidgetRepositoryInterface $widgets |
||
44 | * @param DashboardRepositoryInterface $dashboards |
||
45 | * @param ConfigurationRepositoryInterface $configuration |
||
46 | */ |
||
47 | public function __construct( |
||
56 | |||
57 | /** |
||
58 | * Run the seeder. |
||
59 | */ |
||
60 | public function run() |
||
88 | } |
||
89 |