1 | <?php |
||
11 | class LoadECommerceDashboard extends AbstractDashboardFixture implements DependentFixtureInterface |
||
12 | { |
||
13 | /** @var array */ |
||
14 | protected $widgets = [ |
||
15 | [ |
||
16 | 'name' => 'average_order_amount_chart', |
||
17 | 'position' => [0, 0], |
||
18 | ], |
||
19 | [ |
||
20 | 'name' => 'new_magento_customers_chart', |
||
21 | 'position' => [1, 0], |
||
22 | ], |
||
23 | [ |
||
24 | 'name' => 'average_lifetime_sales_chart', |
||
25 | 'position' => [0, 1] |
||
26 | ], |
||
27 | [ |
||
28 | 'name' => 'revenue_over_time_chart', |
||
29 | 'position' => [0, 1], |
||
30 | ], |
||
31 | [ |
||
32 | 'name' => 'orders_over_time_chart', |
||
33 | 'position' => [0, 1], |
||
34 | ], |
||
35 | [ |
||
36 | 'name' => 'purchase_chart', |
||
37 | 'position' => [0, 1], |
||
38 | ], |
||
39 | ]; |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getDependencies() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function load(ObjectManager $manager) |
||
74 | } |
||
75 |