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

Fix grammar#21588

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

Open
OskarStark wants to merge1 commit intosymfony:6.4
base:6.4
Choose a base branch
Loading
fromOskarStark:fix/typos-3
Open
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
2 changes: 1 addition & 1 deletionbundles/best_practices.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -169,7 +169,7 @@ Doctrine Entities/Documents

If the bundle includes Doctrine ORM entities and/or ODM documents, it's
recommended to define their mapping using XML files stored in
``config/doctrine/``. This allows to override that mapping using the
``config/doctrine/``. This allowsyouto override that mapping using the
:doc:`standard Symfony mechanism to override bundle parts </bundles/override>`.
This is not possible when using attributes to define the mapping.

Expand Down
2 changes: 1 addition & 1 deletionbundles/configuration.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -111,7 +111,7 @@ class, you can add all the logic related to processing the configuration in that

.. tip::

The ``AbstractBundle::configure()`` method also allows to import the
The ``AbstractBundle::configure()`` method also allowsyouto import the
configuration definition from one or more files::

// src/AcmeSocialBundle.php
Expand Down
4 changes: 2 additions & 2 deletionscomponents/asset.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,7 +28,7 @@ simple. Hardcoding URLs can be a disadvantage because:
versioning strategies for each package;
* **Moving assets' location** is cumbersome and error-prone: it requires you to
carefully update the URLs of all assets included in all templates. The Asset
component allows to move assets effortlessly just by changing the base path
component allowsyouto move assets effortlessly just by changing the base path
value associated with the package of assets;
* **It's nearly impossible to use multiple CDNs**: this technique requires
you to change the URL of the asset randomly for each request. The Asset component
Expand DownExpand Up@@ -382,7 +382,7 @@ they all have different base paths::

$packages = new Packages($defaultPackage, $namedPackages);

The ``Packages`` class allows to define a default package, which will be applied
The ``Packages`` class allowsyouto define a default package, which will be applied
to assets that don't define the name of the package to use. In addition, this
application defines a package named ``img`` to serve images from an external
domain and a ``doc`` package to avoid repeating long paths when linking to a
Expand Down
2 changes: 1 addition & 1 deletioncomponents/browser_kit.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -121,7 +121,7 @@ provides access to the link properties (e.g. ``$link->getMethod()``,
The :method:`Symfony\\Component\\BrowserKit\\AbstractBrowser::click` and
:method:`Symfony\\Component\\BrowserKit\\AbstractBrowser::clickLink` methods
can take an optional ``serverParameters`` argument. This
parameter allows to send additional information like headers when clicking
parameter allowsyouto send additional information like headers when clicking
on a link::

use Acme\Client;
Expand Down
2 changes: 1 addition & 1 deletioncomponents/clock.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,7 +36,7 @@ Usage
-----

The :class:`Symfony\\Component\\Clock\\Clock` class returns the current time and
allows to use any `PSR-20`_ compatible implementation as a global clock in your
allowsyouto use any `PSR-20`_ compatible implementation as a global clock in your
application::

use Symfony\Component\Clock\Clock;
Expand Down
2 changes: 1 addition & 1 deletioncomponents/event_dispatcher.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -193,7 +193,7 @@ determine which instance is passed.
->addTag('kernel.event_subscriber');

``RegisterListenersPass`` resolves aliased class names which for instance
allows to refer to an event via the fully qualified class name (FQCN) of the
allowsyouto refer to an event via the fully qualified class name (FQCN) of the
event class. The pass will read the alias mapping from a dedicated container
parameter. This parameter can be extended by registering another compiler pass,
``AddEventAliasesPass``::
Expand Down
2 changes: 1 addition & 1 deletioncomponents/http_foundation.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -726,7 +726,7 @@ Streaming a JSON Response
The :class:`Symfony\\Component\\HttpFoundation\\StreamedJsonResponse` class was
introduced in Symfony 6.3.

The :class:`Symfony\\Component\\HttpFoundation\\StreamedJsonResponse` allows to
The :class:`Symfony\\Component\\HttpFoundation\\StreamedJsonResponse` allowsyouto
stream large JSON responses using PHP generators to keep the used resources low.

The class constructor expects an array which represents the JSON structure and
Expand Down
2 changes: 1 addition & 1 deletioncomponents/http_kernel.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -747,7 +747,7 @@ applications. One of the key features of the bundles is that you can use logic
paths instead of physical paths to refer to any of their resources (config files,
templates, controllers, translation files, etc.)

This allows to import resources even if you don't know where in the filesystem a
This allowsyouto import resources even if you don't know where in the filesystem a
bundle will be installed. For example, the ``services.xml`` file stored in the
``Resources/config/`` directory of a bundle called FooBundle can be referenced as
``@FooBundle/Resources/config/services.xml`` instead of ``__DIR__/Resources/config/services.xml``.
Expand Down
2 changes: 1 addition & 1 deletioncomponents/mime.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -246,7 +246,7 @@ indicates its priority, so the first returned extension is the preferred one.
Guessing the MIME Type
~~~~~~~~~~~~~~~~~~~~~~

Another useful utility allows to guess the MIME type of any given file::
Another useful utility allowsyouto guess the MIME type of any given file::

use Symfony\Component\Mime\MimeTypes;

Expand Down
2 changes: 1 addition & 1 deletioncomponents/phpunit_bridge.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -25,7 +25,7 @@ It comes with the following features:
#. running tests in parallel when a test suite is split in several phpunit.xml files;
#. recording and replaying skipped tests;

* It allows to create tests that are compatible with multiple PHPUnit versions
* It allowsyouto create tests that are compatible with multiple PHPUnit versions
(because it provides polyfills for missing methods, namespaced aliases for
non-namespaced classes, etc.).

Expand Down
2 changes: 1 addition & 1 deletioncomponents/property_access.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -420,7 +420,7 @@ see `Enable other Features`_::
Writing to Array Properties
~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ``PropertyAccessor`` class allows to update the content of arrays stored in
The ``PropertyAccessor`` class allowsyouto update the content of arrays stored in
properties through *adder* and *remover* methods::

// ...
Expand Down
4 changes: 2 additions & 2 deletionscomponents/string.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -440,7 +440,7 @@ different sequences of code points represent the same character. For example,
the Swedish letter ``å`` can be a single code point (``U+00E5`` = *"latin small
letter A with ring above"*) or a sequence of two code points (``U+0061`` =
*"latin small letter A"* + ``U+030A`` = *"combining ring above"*). The
``normalize()`` method allows to pick the normalization mode::
``normalize()`` method allowsyouto pick the normalization mode::

// these encode the letter as a single code point: U+00E5
u('å')->normalize(UnicodeString::NFC);
Expand All@@ -457,7 +457,7 @@ is not optimal. For example, consider a hash value that requires certain
computation to obtain and which you might end up not using it.

In those cases, it's better to use the :class:`Symfony\\Component\\String\\LazyString`
class that allows to store a string whose value is only generated when you need it::
class that allowsyouto store a string whose value is only generated when you need it::

use Symfony\Component\String\LazyString;

Expand Down
4 changes: 2 additions & 2 deletionscomponents/var_exporter.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,7 +2,7 @@ The VarExporter Component
=========================

The VarExporter component exports any serializable PHP data structure to
plain PHP code and allows to instantiate and populate objects without
plain PHP code and allowsyouto instantiate and populate objects without
calling their constructors.

Installation
Expand DownExpand Up@@ -231,7 +231,7 @@ initialized::
``createLazyGhost()`` method is deprecated since Symfony 6.4. Pass
a single closure that initializes the whole object instead.

:class:`Symfony\\Component\\VarExporter\\LazyGhostTrait` also allows to
:class:`Symfony\\Component\\VarExporter\\LazyGhostTrait` also allowsyouto
convert non-lazy classes to lazy ones::

namespace App\Hash;
Expand Down
2 changes: 1 addition & 1 deletionconfiguration.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -478,12 +478,12 @@
webpack_encore:
strict_mode: false

# YAML syntax allows to reuse contents using "anchors" (&some_name) and "aliases" (*some_name).
# YAML syntax allowsyouto reuse contents using "anchors" (&some_name) and "aliases" (*some_name).
# In this example, 'test' configuration uses the exact same configuration as in 'prod'
when@prod: &webpack_prod
webpack_encore:
# ...
when@test: *webpack_prod

Check failure on line 486 in configuration.rst

View workflow job for this annotation

GitHub Actions/ Code Blocks

[Cache Warmup] In FileLoader.php line 182: The file "/home/runner/work/symfony-docs/symfony-docs/_sf_app/config/packag es/webpack_encore.yaml" does not contain valid YAML: Duplicate key "when@pr od" detected at line 20 (near " # ...") in /home/runner/work/symfony -docs/symfony-docs/_sf_app/config/packages/webpack_encore.yaml (which is be ing imported from "/home/runner/work/symfony-docs/symfony-docs/_sf_app/src/ Kernel.php"). In YamlFileLoader.php line 781: The file "/home/runner/work/symfony-docs/symfony-docs/_sf_app/config/packag es/webpack_encore.yaml" does not contain valid YAML: Duplicate key "when@pr od" detected at line 20 (near " # ..."). In Parser.php line 337: Duplicate key "when@prod" detected at line 20 (near " # ..."). 2025-11-22T18:09:35+00:00 [info] User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle" now to avoid errors or add an explicit@return annotation to suppress this message.

.. code-block:: xml

Expand Down
10 changes: 5 additions & 5 deletionsconsole.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -179,7 +179,7 @@ You can optionally define a description, help message and the
.. tip::

Defining the ``$defaultDescription`` static property instead of using the
``setDescription()`` method allows to get the command description without
``setDescription()`` method allowsyouto get the command description without
instantiating its class. This makes the ``php bin/console list`` command run
much faster.

Expand DownExpand Up@@ -620,13 +620,13 @@ message whenever a command doesn't finish with the ``0`` `exit status`_.
Using Events And Handling Signals
---------------------------------

When a command is running, many events are dispatched, one of them allows to
When a command is running, many events are dispatched, one of them allowsyouto
react to signals, read more in :doc:`this section </components/console/events>`.

Profiling Commands
------------------

Symfony allows to profile the execution of any command, including yours. First,
Symfony allowsyouto profile the execution of any command, including yours. First,
make sure that the :ref:`debug mode <debug-mode>` and the :doc:`profiler </profiler>`
are enabled. Then, add the ``--profile`` option when running the command:

Expand DownExpand Up@@ -675,7 +675,7 @@ tools capable of helping you with different tasks:
* :doc:`/components/console/helpers/table`: displays tabular data as a table
* :doc:`/components/console/helpers/debug_formatter`: provides functions to
output debug information when running an external program
* :doc:`/components/console/helpers/processhelper`: allows to run processes using ``DebugFormatterHelper``
* :doc:`/components/console/helpers/cursor`: allows to manipulate the cursor in the terminal
* :doc:`/components/console/helpers/processhelper`: allowsyouto run processes using ``DebugFormatterHelper``
* :doc:`/components/console/helpers/cursor`: allowsyouto manipulate the cursor in the terminal

.. _`exit status`: https://en.wikipedia.org/wiki/Exit_status
2 changes: 1 addition & 1 deletionconsole/calling_commands.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -53,7 +53,7 @@ method)::

.. note::

Using ``doRun()`` instead of ``run()`` prevents autoexiting and allows to
Using ``doRun()`` instead of ``run()`` prevents autoexiting and allowsyouto
return the exit code instead.

Also, using ``$this->getApplication()->doRun()`` instead of
Expand Down
2 changes: 1 addition & 1 deletionconsole/input.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -144,7 +144,7 @@ how many times in a row the message should be printed::
InputOption::VALUE_REQUIRED,
// the option description displayed when showing the command help
'How many times should the message be printed?',
// the default value of the option (for those which allow to pass values)
// the default value of the option (for those which allowyouto pass values)
1
)
;
Expand Down
2 changes: 1 addition & 1 deletionconsole/style.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,7 +37,7 @@ unnecessarily.

In order to reduce that boilerplate code, Symfony commands can optionally use the
**Symfony Style Guide**. These styles are implemented as a set of helper methods
which allow to create *semantic* commands and forget about their styling.
which allowyouto create *semantic* commands and forget about their styling.

Basic Usage
-----------
Expand Down
4 changes: 2 additions & 2 deletionscontroller/value_resolver.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -231,7 +231,7 @@ Managing Value Resolvers
For each argument, every resolver tagged with ``controller.argument_value_resolver``
will be called until one provides a value. The order in which they are called depends
on their priority. For example, the ``SessionValueResolver`` will be called before the
``DefaultValueResolver`` because its priority is higher. This allows to write e.g.
``DefaultValueResolver`` because its priority is higher. This allowsyouto write e.g.
``SessionInterface $session = null`` to get the session if there is one, or ``null``
if there is none.

Expand DownExpand Up@@ -276,7 +276,7 @@ You can target a resolver by passing its name as ``ValueResolver``'s first argum
For convenience, built-in resolvers' name are their FQCN.

A targeted resolver can also be disabled by passing ``ValueResolver``'s ``$disabled``
argument to ``true``; this is how :ref:`MapEntity allows to disable the
argument to ``true``; this is how :ref:`MapEntity allowsyouto disable the
EntityValueResolver for a specific controller <doctrine-entity-value-resolver>`.
Yes, ``MapEntity`` extends ``ValueResolver``!

Expand Down
2 changes: 1 addition & 1 deletionform/bootstrap5.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -138,7 +138,7 @@ Form type or ``ChoiceType`` configuration) to the label class.
Switches
~~~~~~~~

Bootstrap 5 allows to render checkboxes as `switches`_. You can enable this
Bootstrap 5 allowsyouto render checkboxes as `switches`_. You can enable this
feature on your Symfony Form ``CheckboxType`` by adding the ``checkbox-switch``
class to the label:

Expand Down
4 changes: 2 additions & 2 deletionsfrontend/encore/advanced-config.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -317,7 +317,7 @@ The following loaders are configurable with ``configureLoaderRule()``:
Configuring Aliases When Importing or Requiring Modules
-------------------------------------------------------

The `Webpack resolve.alias option`_ allows to create aliases to simplify the
The `Webpack resolve.alias option`_ allowsyouto create aliases to simplify the
``import`` or ``require`` of certain modules (e.g. by aliasing commonly used ``src/``
folders). In Webpack Encore you can use this option via the ``addAliases()`` method:

Expand All@@ -338,7 +338,7 @@ With the above config, you could now import certain modules more concisely:
Excluding Some Dependencies from Output Bundles
-----------------------------------------------

The `Webpack externals option`_ allows to prevent bundling of certain imported
The `Webpack externals option`_ allowsyouto prevent bundling of certain imported
packages and instead retrieve those external dependencies at runtime. This feature
is mostly useful for JavaScript library developers, so you probably won't need it.

Expand Down
6 changes: 3 additions & 3 deletionshttp_client.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -743,7 +743,7 @@ Retry Failed Requests
~~~~~~~~~~~~~~~~~~~~~

Sometimes, requests fail because of network issues or temporary server errors.
Symfony's HttpClient allows to retry failed requests automatically using the
Symfony's HttpClient allowsyouto retry failed requests automatically using the
:ref:`retry_failed option <reference-http-client-retry-failed>`.

By default, failed requests are retried up to 3 times, with an exponential delay
Expand DownExpand Up@@ -1053,7 +1053,7 @@ is installed and enabled, and will fall back as explained above.
Configuring CurlHttpClient Options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PHP allows to configure lots of `cURL options`_ via the :phpfunction:`curl_setopt`
PHP allowsyouto configure lots of `cURL options`_ via the :phpfunction:`curl_setopt`
function. In order to make the component more portable when not using cURL, the
:class:`Symfony\\Component\\HttpClient\\CurlHttpClient` only uses some of those
options (and they are ignored in the rest of clients).
Expand DownExpand Up@@ -1196,7 +1196,7 @@ following methods::
// returns detailed logs about the requests and responses of the HTTP transaction
$httpLogs = $response->getInfo('debug');

// the special "pause_handler" info item is a callable that allows to delay the request
// the special "pause_handler" info item is a callable that allowsyouto delay the request
// for a given number of seconds; this allows you to delay retries, throttle streams, etc.
$response->getInfo('pause_handler')(2);

Expand Down
2 changes: 1 addition & 1 deletionmailer.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1700,7 +1700,7 @@ MessageEvent

**Event Class**: :class:`Symfony\\Component\\Mailer\\Event\\MessageEvent`

``MessageEvent`` allows to change the Mailer message and the envelope before
``MessageEvent`` allowsyouto change the Mailer message and the envelope before
the email is sent::

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Expand Down
2 changes: 1 addition & 1 deletionmercure.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -622,7 +622,7 @@ hypermedia API, and automatic update broadcasting through the Mercure hub::
}

As showcased `in this recording`_, the API Platform Client Generator also
allows to scaffold complete React and React Native applications from this API.
allowsyouto scaffold complete React and React Native applications from this API.
These applications will render the content of Mercure updates in real-time.

Checkout `the dedicated API Platform documentation`_ to learn more about
Expand Down
10 changes: 5 additions & 5 deletionsreference/configuration/framework.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2663,7 +2663,7 @@ paths

**type**: ``array`` **default**: ``[]``

This option allows to define an array of paths where the component will look
This option allowsyouto define an array of paths where the component will look
for translation files. The later a path is added, the more priority it has
(translations from later paths overwrite earlier ones). Translations from the
:ref:`default_path <reference-translator-default_path>` have more priority than
Expand All@@ -2676,7 +2676,7 @@ default_path

**type**: ``string`` **default**: ``%kernel.project_dir%/translations``

This option allows to define the path where the application translations files
This option allowsyouto define the path where the application translations files
are stored.

.. _reference-translator-providers:
Expand DownExpand Up@@ -2878,7 +2878,7 @@ endpoint

By default, the :doc:`NotCompromisedPassword </reference/constraints/NotCompromisedPassword>`
constraint uses the public API provided by `haveibeenpwned.com`_. This option
allows to define a different, but compatible, API endpoint to make the password
allowsyouto define a different, but compatible, API endpoint to make the password
checks. It's useful for example when the Symfony application is run in an
intranet without public access to the internet.

Expand DownExpand Up@@ -2919,7 +2919,7 @@ paths

**type**: ``array`` **default**: ``['config/validation/']``

This option allows to define an array of paths with files or directories where
This option allowsyouto define an array of paths with files or directories where
the component will look for additional validation files:

.. configuration-block::
Expand DownExpand Up@@ -3085,7 +3085,7 @@ paths

**type**: ``array`` **default**: ``[]``

This option allows to define an array of paths with files or directories where
This option allowsyouto define an array of paths with files or directories where
the component will look for additional serialization files.

default_context
Expand Down
2 changes: 1 addition & 1 deletionreference/configuration/security.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -499,7 +499,7 @@ By default, when users log out from any firewall, their sessions are invalidated
This means that logging out from one firewall automatically logs them out from
all the other firewalls.

The ``invalidate_session`` option allows to redefine this behavior. Set this
The ``invalidate_session`` option allowsyouto redefine this behavior. Set this
option to ``false`` in every firewall and the user will only be logged out from
the current firewall and not the other ones.

Expand Down
2 changes: 1 addition & 1 deletionreference/configuration/twig.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,7 +71,7 @@ compilation time based on the filename of the template. This means for example
that the contents of a ``*.html.twig`` template are escaped for HTML and the
contents of ``*.js.twig`` are escaped for JavaScript.

This option allows to define the Symfony service which will be used to determine
This option allowsyouto define the Symfony service which will be used to determine
the default escaping applied to the template.

autoescape_service_method
Expand Down
4 changes: 2 additions & 2 deletionsreference/constraints/DisableAutoMapping.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
DisableAutoMapping
==================

This constraint allows to disable :ref:`Doctrine's auto mapping <doctrine_auto-mapping>`
on a class or a property. Automapping allows to determine validation rules based
This constraint allowsyouto disable :ref:`Doctrine's auto mapping <doctrine_auto-mapping>`
on a class or a property. Automapping allowsyouto determine validation rules based
on Doctrine's attributes. You may use this constraint when
automapping is globally enabled, but you still want to disable this feature for
a class or a property specifically.
Expand Down
4 changes: 2 additions & 2 deletionsreference/constraints/EnableAutoMapping.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
EnableAutoMapping
=================

This constraint allows to enable :ref:`Doctrine's auto mapping <doctrine_auto-mapping>`
on a class or a property. Automapping allows to determine validation rules based
This constraint allowsyouto enable :ref:`Doctrine's auto mapping <doctrine_auto-mapping>`
on a class or a property. Automapping allowsyouto determine validation rules based
on Doctrine's attributes. You may use this constraint when
automapping is globally disabled, but you still want to enable this feature for
a class or a property specifically.
Expand Down
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp