PluginProbe
Sendy / 3.4.7
Sendy v3.4.7
3.4.6 3.4.7 trunk 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 All 32 releases
sendy / lib / Enums / ProcessingMethod.php

ProcessingMethod.php in Sendy 3.4.7, at lib/Enums/ProcessingMethod.php

26 lines 557 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Sendy\WooCommerce\Enums;
4
5 final class ProcessingMethod extends Enum
6 {
7 public const WooCommerce = 'woocommerce';
8 public const Sendy = 'sendy';
9
10 public static function cases(): array
11 {
12 return [
13 self::WooCommerce,
14 self::Sendy,
15 ];
16 }
17
18 public static function casesWithDescription(): array
19 {
20 return [
21 self::WooCommerce => __('Create shipments in WooCommerce', 'sendy'),
22 self::Sendy => __('Process shipments in Sendy', 'sendy'),
23 ];
24 }
25 }
26