File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,16 @@ which adds several convenience methods:
5454 }
5555 }
5656
57- .. versionadded :: 1.6
58- The ``setTemplateData `` method was added in 1.6 .
57+ .. versionadded :: 2.0
58+ The ``ControllerTrait `` trait was added in 2.0 .
5959
6060There is also a trait called ``ControllerTrait `` for anyone that prefers to not
6161inject the container into their controller. This requires using setter injection
6262to set a ``ViewHandlerInterface `` instance via the ``setViewHandler `` method.
6363
64- .. versionadded :: 2.0
65- The ``ControllerTrait `` trait was added in 2.0.
64+
65+ .. versionadded :: 1.6
66+ The ``setTemplateData `` method was added in 1.6.
6667
6768If you need to pass more data in template, not for serialization, you can use ``setTemplateData `` method:
6869
You can’t perform that action at this time.
0 commit comments