Description
Hi guys.
I'm working on my bundle for javascript validation for the symfony2 forms. In my implementation I need to get some necessary data from Form elements and pass them to the JS side. Among other data I need to know what kind of data-transformers were attached to a form element. It's not a problem in case of a simple transformer object, but I can't get access to transformers which are placed into a chain, because they are stored there in a protected property. And it's very important for me.
At the moment I've solved this issue using ReflectionClass, but it would be great to have a native functionality for this.
Could you please add the getTransformers() method to the Symfony\Component\Form\Extension\Core\DataTransformer\DataTransformerChain class.
Thanks.