PheatureFlagsBundle
extends Bundle
Table of Contents
-
DEFAULT_CONFIG
= ['driver' => 'inmemory', 'api_prefix' => '', 'api_enabled' => false, 'segment_types' => [['type' => \Pheature\Model\Toggle\IdentitySegment::NAME, 'factory_id' => \Pheature\Model\Toggle\SegmentFactory::class], ['type' => \Pheature\Model\Toggle\StrictMatchingSegment::NAME, 'factory_id' => \Pheature\Model\Toggle\SegmentFactory::class]], 'strategy_types' => [['type' => \Pheature\Model\Toggle\EnableByMatchingSegment::NAME, 'factory_id' => \Pheature\Model\Toggle\StrategyFactory::class], ['type' => \Pheature\Model\Toggle\EnableByMatchingIdentityId::NAME, 'factory_id' => \Pheature\Model\Toggle\StrategyFactory::class]], 'toggles' => []]
-
build()
: void
DEFAULT_CONFIG
private
mixed
DEFAULT_CONFIG
= ['driver' => 'inmemory', 'api_prefix' => '', 'api_enabled' => false, 'segment_types' => [['type' => \Pheature\Model\Toggle\IdentitySegment::NAME, 'factory_id' => \Pheature\Model\Toggle\SegmentFactory::class], ['type' => \Pheature\Model\Toggle\StrictMatchingSegment::NAME, 'factory_id' => \Pheature\Model\Toggle\SegmentFactory::class]], 'strategy_types' => [['type' => \Pheature\Model\Toggle\EnableByMatchingSegment::NAME, 'factory_id' => \Pheature\Model\Toggle\StrategyFactory::class], ['type' => \Pheature\Model\Toggle\EnableByMatchingIdentityId::NAME, 'factory_id' => \Pheature\Model\Toggle\StrategyFactory::class]], 'toggles' => []]
build()
public
build(ContainerBuilder $container) : void
Parameters
-
$container
: ContainerBuilder
-
Return values
void
—