Skip to content

Commit ace3104

Browse files
committed
[#6726] Added versionadded directive
1 parent a18bb78 commit ace3104

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

book/controller.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,10 @@ For more information, see the :doc:`/book/service_container` chapter.
548548

549549
$from = $this->getParameter('app.mailer.from');
550550

551+
.. versionadded:: 2.7
552+
The ``Controller::getParameter()`` method was introduced in Symfony
553+
2.7. Use ``$this->container->getParameter()`` in versions prior to 2.7.
554+
551555
.. index::
552556
single: Controller; Managing errors
553557
single: Controller; 404 pages

0 commit comments

Comments
 (0)