is there a way to list the features?
Hi, We are use to manage our product features with your bundle. Normally we can check if a feature is available on php, twig and Javascript time.
Our main problem is that we want to know the list of the features in twig time. We can create an extension but your bundle encapsulate very well the features array.
Thanks
I don't really understand your requirement. The Symfony Profiler should list all features?
I believe we have a similar requirement - we don't have the profiler active in all of our environments, but we do have a requirement to see what features flags exist in an environment, and what values they're set to. (our env vars are controlled via k8s, but due to the complexity of the setup we've concluded that what we need is a way to interrogate our app to find out what IT thinks it has)
So, is there a way to access the contents of flagception.features defined in config/packages/flagception.yaml without having to call each feature flag by name?
So, is there a way to access the contents of
flagception.featuresdefined inconfig/packages/flagception.yamlwithout having to call each feature flag by name?
FWIW, what we ended up doing in the meantime was opening the flagception.yaml file with Yaml::parseFile and iterated over the features array.