Skip to content

Commit e9721cc

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [DotEnv] Update configuration.rst
2 parents 9cacb46 + 6e9b59d commit e9721cc

File tree

4 files changed

+15
-25
lines changed

4 files changed

+15
-25
lines changed

configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ already existing ``.env`` files).
10831083
# .env (or .env.local)
10841084
APP_ENV=prod
10851085
1086-
# .env.prod (or .env.local.prod) - this will fallback on the loaders you defined
1086+
# .env.prod (or .env.prod.local) - this will fallback on the loaders you defined
10871087
APP_ENV=
10881088
10891089
.. _configuration-accessing-parameters:

mailer.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,6 +1494,13 @@ render the email before calling ``$mailer->send($email)``::
14941494

14951495
$mailer->send($email);
14961496
}
1497+
<<<<<<< HEAD
1498+
=======
1499+
=======
1500+
Thanks to this, instead of being delivered immediately, messages will be sent to
1501+
the transport to be handled later (see :ref:`messenger-worker`).
1502+
>>>>>>> 5.4
1503+
>>>>>>> 6.3
14971504

14981505
You can configure which bus is used to dispatch the message using the ``message_bus`` option.
14991506
You can also set this to ``false`` to call the Mailer transport directly and

reference/configuration/framework.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,30 +2933,6 @@ annotation changes). For performance reasons, it is recommended to disable
29332933
debug mode in production, which will happen automatically if you use the
29342934
default value.
29352935

2936-
secrets
2937-
~~~~~~~
2938-
2939-
decryption_env_var
2940-
..................
2941-
2942-
**type**: ``string`` **default**: ``base64:default::SYMFONY_DECRYPTION_SECRET``
2943-
2944-
The environment variable that contains the decryption key.
2945-
2946-
local_dotenv_file
2947-
.................
2948-
2949-
**type**: ``string`` **default**: ``%kernel.project_dir%/.env.%kernel.environment%.local``
2950-
2951-
Path to an dotenv file that holds secrets. This is primarily used for testing.
2952-
2953-
vault_directory
2954-
...............
2955-
2956-
**type**: ``string`` **default**: ``%kernel.project_dir%/config/secrets/%kernel.environment%``
2957-
2958-
The directory where the vault of secrets is stored.
2959-
29602936
.. _configuration-framework-serializer:
29612937

29622938
serializer

serializer/custom_encoders.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ create your own encoder that uses the
4646
}
4747
}
4848

49+
.. tip::
50+
51+
If you need access to ``$context`` in your ``supportsDecoding`` or
52+
``supportsEncoding`` method, make sure to implement
53+
``Symfony\Component\Serializer\Encoder\ContextAwareDecoderInterface``
54+
or ``Symfony\Component\Serializer\Encoder\ContextAwareEncoderInterface`` accordingly.
55+
4956
Registering it in your app
5057
--------------------------
5158

0 commit comments

Comments
 (0)