Skip to content

Commit 284a304

Browse files
committed
minor symfony#19072 reference the decorated service using the special .inner id (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- reference the decorated service using the special .inner id see symfony/symfony#51856 (comment) Commits ------- 90b92fd reference the decorated service using the special .inner id
2 parents 50617f1 + 90b92fd commit 284a304

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cache.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Then, register the ``SodiumMarshaller`` service using this key:
795795
- ['%env(base64:CACHE_DECRYPTION_KEY)%']
796796
# use multiple keys in order to rotate them
797797
#- ['%env(base64:CACHE_DECRYPTION_KEY)%', '%env(base64:OLD_CACHE_DECRYPTION_KEY)%']
798-
- '@Symfony\Component\Cache\Marshaller\SodiumMarshaller.inner'
798+
- '@.inner'
799799
800800
.. code-block:: xml
801801
@@ -818,7 +818,7 @@ Then, register the ``SodiumMarshaller`` service using this key:
818818
<!-- use multiple keys in order to rotate them -->
819819
<!-- <argument>env(base64:OLD_CACHE_DECRYPTION_KEY)</argument> -->
820820
</argument>
821-
<argument type="service" id="Symfony\Component\Cache\Marshaller\SodiumMarshaller.inner"/>
821+
<argument type="service" id=".inner"/>
822822
</service>
823823
</services>
824824
</container>
@@ -835,7 +835,7 @@ Then, register the ``SodiumMarshaller`` service using this key:
835835
->addArgument(['env(base64:CACHE_DECRYPTION_KEY)'])
836836
// use multiple keys in order to rotate them
837837
//->addArgument(['env(base64:CACHE_DECRYPTION_KEY)', 'env(base64:OLD_CACHE_DECRYPTION_KEY)'])
838-
->addArgument(new Reference(SodiumMarshaller::class.'.inner'));
838+
->addArgument(new Reference('.inner'));
839839
840840
.. caution::
841841

session.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ Then, register the ``SodiumMarshaller`` service using this key:
15151515
decorates: 'session.marshaller'
15161516
arguments:
15171517
- ['%env(file:resolve:SESSION_DECRYPTION_FILE)%']
1518-
- '@Symfony\Component\Cache\Marshaller\SodiumMarshaller.inner'
1518+
- '@.inner'
15191519
15201520
.. code-block:: xml
15211521
@@ -1531,7 +1531,7 @@ Then, register the ``SodiumMarshaller`` service using this key:
15311531
<argument type="collection">
15321532
<argument>env(file:resolve:SESSION_DECRYPTION_FILE)</argument>
15331533
</argument>
1534-
<argument type="service" id="Symfony\Component\Cache\Marshaller\SodiumMarshaller.inner"/>
1534+
<argument type="service" id=".inner"/>
15351535
</service>
15361536
</services>
15371537
</container>
@@ -1552,7 +1552,7 @@ Then, register the ``SodiumMarshaller`` service using this key:
15521552
->decorate('session.marshaller')
15531553
->args([
15541554
[env('file:resolve:SESSION_DECRYPTION_FILE')],
1555-
service(SodiumMarshaller::class.'.inner'),
1555+
service('.inner'),
15561556
]);
15571557
};
15581558

0 commit comments

Comments
 (0)