Deprecated method used

This method "getDefaultOptions" is deprecated on Symfony 2.3. And the new one "setDefaultOptions" need to be used with "setDefaults" Method from the resolver parameter.