1 | <?php |
||
9 | class FeaturetoggleRegistry |
||
10 | { |
||
11 | /** |
||
12 | * @var FeaturetoggleInterfaceFactory |
||
13 | */ |
||
14 | private $featuretoggleFactory; |
||
15 | |||
16 | private $featuretoggleRegistryById; |
||
17 | |||
18 | public function __construct(FeaturetoggleInterfaceFactory $featuretoggleInterfaceFactory) |
||
22 | |||
23 | |||
24 | public function retrieve($featuretoggleId) |
||
39 | /** |
||
40 | * Replace existing feature toggle model with a new one. |
||
41 | * |
||
42 | * @param Featuretoggle $featuretoggle |
||
43 | * |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function push(Featuretoggle $featuretoggle) |
||
51 | } |
||
52 |