Open simcen opened 4 years ago
Can you tell me which flagception bundle and flagception sdk version you are using?
In your debug container output, I'm missing the traceable chain activator. He is responsible for executing all activators and collect data for the profiler: https://github.com/bestit/flagception-bundle/blob/3.5.1/src/Activator/TraceableChainActivator.php
The traceable chain decorator should be injected normally: https://github.com/bestit/flagception-bundle/blob/3.5.1/src/Resources/config/services.yml#L5
"flagception/flagception-bundle" 3.5.1 and "flagception/flagception" 1.5.0
Ah, perhaps there is a misunderstanding here. The profiler does not show the features that are configured, only those that are actually requested (by '->isActive' for example).
So if you call a page where no features are requested, then there will be no features in the profiler. Does that help you?
Hello,
We're running quite old Symfony 2.8.x based application. The symfony profiles shows "Features" section but not the configured features. However, I can actually work with them in the code.
Configuration in config.php:
--> can access feature manager, e.g. from a view with:
$this->container->get('flagception.manager.feature_manager')->isActive('feature_123')
Any idea?
Debug container output: