Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Move important information out of versionadded#5641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wouterj merged 1 commit intosymfony:2.7fromwouterj:improve_versionadded_26
Sep 5, 2015
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletioncomponents/console/helpers/progressbar.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,14 +48,18 @@ you can also set the current progress by calling the
Prior to version 2.6, the progress bar only works if your platform
supports ANSI codes; on other platforms, no output is generated.

.. versionadded:: 2.6
.. tip::

If your platform doesn't support ANSI codes, updates to the progress
bar are added as new lines. To prevent the output from being flooded,
adjust the
:method:`Symfony\\Component\\Console\\Helper\\ProgressBar::setRedrawFrequency`
accordingly. By default, when using a ``max``, the redraw frequency
is set to *10%* of your ``max``.

.. versionadded:: 2.6
The ``setRedrawFrequency()`` method was introduced in Symfony 2.6.

If you don't know the number of steps in advance, just omit the steps argument
when creating the :class:`Symfony\\Component\\Console\\Helper\\ProgressBar`
instance::
Expand Down
10 changes: 7 additions & 3 deletionscookbook/controller/service.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -122,9 +122,13 @@ the route ``_controller`` value:
defined as a service. See the `FrameworkExtraBundle documentation`_ for
details.

.. versionadded:: 2.6
If your controller service implements the ``__invoke`` method, you can simply refer to the service id
(``app.hello_controller``).
.. tip::

If your controller implements the ``__invoke()`` method, you can simply
refer to the service id (``app.hello_controller``).

.. versionadded:: 2.6
Support for ``__invoke()`` was introduced in Symfony 2.6.

Alternatives to base Controller Methods
---------------------------------------
Expand Down
9 changes: 5 additions & 4 deletionsreference/twig_reference.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -719,11 +719,12 @@ The available attributes are:
* ``app.session``
* ``app.environment``
* ``app.debug``
* ``app.security``
* ``app.security`` (deprecated as of 2.6)

.. versionadded:: 2.6
The ``app.security`` global is deprecated as of 2.6. The user is already available
as ``app.user`` and ``is_granted()`` is registered as function.
.. caution::

The ``app.security`` global is deprecated as of 2.6. The user is already
available as ``app.user`` and ``is_granted()`` is registered as function.

Symfony Standard Edition Extensions
-----------------------------------
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp