mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-23 16:22:10 +01:00
Misc grammar fixes
This commit is contained in:
@@ -250,7 +250,7 @@ timestamps::
|
||||
error handling across versions of PHP, thanks to polyfilling `PHP 8.3's behavior`_
|
||||
on the topic.
|
||||
|
||||
``DatePoint`` also allows to set and get the microsecond part of the date and time::
|
||||
``DatePoint`` also allows you to set and get the microsecond part of the date and time::
|
||||
|
||||
$datePoint = new DatePoint();
|
||||
$datePoint->setMicrosecond(345);
|
||||
|
||||
@@ -658,7 +658,7 @@ controller argument nullable:
|
||||
#[MapUploadedFile]
|
||||
?UploadedFile $document
|
||||
|
||||
The ``#[MapUploadedFile]`` attribute also allows to pass a list of constraints
|
||||
The ``#[MapUploadedFile]`` attribute also allows you to pass a list of constraints
|
||||
to apply to the uploaded file::
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
@@ -1517,7 +1517,7 @@ Limit the Number of Requests
|
||||
----------------------------
|
||||
|
||||
This component provides a :class:`Symfony\\Component\\HttpClient\\ThrottlingHttpClient`
|
||||
decorator that allows to limit the number of requests within a certain period,
|
||||
decorator that allows you to limit the number of requests within a certain period,
|
||||
potentially delaying calls based on the rate limiting policy.
|
||||
|
||||
The implementation leverages the
|
||||
|
||||
@@ -344,7 +344,7 @@ official YAML specification but are useful in Symfony applications:
|
||||
# ... or you can also use "->value" to directly use the value of a BackedEnum case
|
||||
operator_type: !php/enum App\Operator\Enum\Type::Or->value
|
||||
|
||||
This tag allows to omit the enum case and only provide the enum FQCN
|
||||
This tag allows you to omit the enum case and only provide the enum FQCN
|
||||
to return an array of all available enum cases:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
Reference in New Issue
Block a user