PluginProbe
WooCommerce / 11.1.0-rc.2
WooCommerce v11.1.0-rc.2
11.1.0 11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 All 648 releases
woocommerce / src / Enums / FeaturePluginCompatibility.php
FeaturePluginCompatibility.php
43 lines 796 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 declare( strict_types = 1 );
3
4 namespace Automattic\WooCommerce\Enums;
5
6 /**
7 * Enum class for feature plugin compatibility.
8 */
9 final class FeaturePluginCompatibility {
10
11 /**
12 * Plugins are compatible by default with the feature.
13 *
14 * @var string
15 */
16 public const COMPATIBLE = 'compatible';
17
18 /**
19 * Plugins are incompatible by default with the feature.
20 *
21 * @var string
22 */
23 public const INCOMPATIBLE = 'incompatible';
24
25 /**
26 * Plugin compatibility with the feature is yet to be determined. Internal use only.
27 *
28 * @internal
29 * @var string
30 */
31 public const UNCERTAIN = 'uncertain';
32
33 /**
34 * Valid values for registration of feature compatibility.
35 *
36 * @var string[]
37 */
38 public const VALID_REGISTRATION_VALUES = array(
39 self::COMPATIBLE,
40 self::INCOMPATIBLE,
41 );
42 }
43