you should add a versionadded directive before this line:

````rst
.. version-added:: 2.4
    The ``data_class`` option was introduced in Symfony 2.4.
````