Create a feature flag

[MAILPOET-3763]
This commit is contained in:
Pavel Dohnal
2021-09-08 10:43:27 +02:00
committed by Veljko V
parent 6f22a65692
commit e7e738320f

View File

@@ -5,10 +5,13 @@ namespace MailPoet\Features;
use MailPoetVendor\Doctrine\DBAL\Exception\TableNotFoundException;
class FeaturesController {
const RE_ENGAGEMENT_EMAIL = 're-engagement-email';
// Define feature defaults in the array below in the following form:
// self::FEATURE_NAME_OF_FEATURE => true,
private $defaults = [];
private $defaults = [
self::RE_ENGAGEMENT_EMAIL => false,
];
/** @var array */
private $flags;