1 | <?php |
||
12 | class LoadRFMMetricCategoryData extends AbstractFixture implements DependentFixtureInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $data = [ |
||
18 | 'CustomerChannel.MonetaryCategory' => [ |
||
19 | 'categoryType' => RFMMetricCategory::TYPE_MONETARY, |
||
20 | 'channel' => 'Channel.CustomerChannel', |
||
21 | 'categoryIndex' => 8, |
||
22 | 'maxValue' => 15, |
||
23 | 'minValue' => 5, |
||
24 | ], |
||
25 | 'CustomerChannel.FrequencyCategory' => [ |
||
26 | 'categoryType' => RFMMetricCategory::TYPE_FREQUENCY, |
||
27 | 'channel' => 'Channel.CustomerChannel', |
||
28 | 'categoryIndex' => 9, |
||
29 | 'maxValue' => 17, |
||
30 | 'minValue' => 1, |
||
31 | ], |
||
32 | 'CustomerChannel.RecencyCategory' => [ |
||
33 | 'categoryType' => RFMMetricCategory::TYPE_RECENCY, |
||
34 | 'channel' => 'Channel.CustomerChannel', |
||
35 | 'categoryIndex' => 10, |
||
36 | 'maxValue' => 16, |
||
37 | 'minValue' => 4, |
||
38 | ], |
||
39 | ]; |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getDependencies() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function load(ObjectManager $manager) |
||
71 | } |
||
72 |