1 | <?php |
||
2 | /** |
||
3 | * Copyright © Getnet. All rights reserved. |
||
4 | * |
||
5 | * @author Bruno Elisei <[email protected]> |
||
6 | * See LICENSE for license details. |
||
7 | */ |
||
8 | declare(strict_types=1); |
||
9 | |||
10 | namespace Getnet\SplitExampleMagento\Model\Source; |
||
11 | |||
12 | use Magento\Framework\Option\ArrayInterface; |
||
13 | |||
14 | /** |
||
15 | * Class CronBy - Defines type cron. |
||
16 | */ |
||
17 | class CronBy implements ArrayInterface |
||
0 ignored issues
–
show
|
|||
18 | { |
||
19 | /** |
||
20 | * Returns Options. |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | public function toOptionArray(): array |
||
25 | { |
||
26 | return [ |
||
27 | 'shipping' => __('Shipping'), |
||
28 | 'invoice' => __('Invoice'), |
||
29 | ]; |
||
30 | } |
||
31 | } |
||
32 |
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.