1 | <?php |
||
2 | |||
3 | namespace Pagantis\Pagantis\Model\Adminhtml\Source; |
||
4 | |||
5 | use Magento\Framework\Option\ArrayInterface; |
||
6 | |||
7 | /** |
||
8 | * Class SimulatorType |
||
9 | * @package Pagantis\Pagantis\Model\Adminhtml\Source |
||
10 | */ |
||
11 | class SimulatorType implements ArrayInterface |
||
0 ignored issues
–
show
|
|||
12 | { |
||
13 | /** |
||
14 | * NO |
||
15 | */ |
||
16 | const NO = 0; |
||
17 | |||
18 | /** |
||
19 | * MINI |
||
20 | */ |
||
21 | const MINI = 6; |
||
22 | |||
23 | /** |
||
24 | * COMPLETE |
||
25 | */ |
||
26 | const COMPLETE = 2; |
||
27 | |||
28 | /** |
||
29 | * SELECTOR |
||
30 | */ |
||
31 | const SELECTOR = 3; |
||
32 | |||
33 | /** |
||
34 | * TEXT |
||
35 | */ |
||
36 | const TEXT = 4; |
||
37 | |||
38 | /** |
||
39 | * TEXT |
||
40 | */ |
||
41 | const SIMPLE = 1; |
||
42 | |||
43 | /** |
||
44 | * @return array |
||
45 | */ |
||
46 | public function toOptionArray() |
||
47 | { |
||
48 | return array( |
||
49 | array( |
||
50 | 'label' => __(' Mini'), |
||
51 | 'value' => self::MINI, |
||
52 | ), |
||
53 | array( |
||
54 | 'label' => __(' Selector'), |
||
55 | 'value' => self::SELECTOR, |
||
56 | ), |
||
57 | array( |
||
58 | 'label' => __(' Do not show'), |
||
59 | 'value' => self::NO, |
||
60 | ) |
||
61 | ); |
||
62 | } |
||
63 | } |
||
64 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.