8000 feature #35298 Make sure the UriSigner can be autowired (Toflar) · symfony/symfony@697bc22 · GitHub
[go: up one dir, main page]

Skip to content

Commit 697bc22

Browse files
committed
feature #35298 Make sure the UriSigner can be autowired (Toflar)
This PR was merged into the 5.1-dev branch. Discussion ---------- Make sure the UriSigner can be autowired | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | I wasn't able to find the correct spot where this is tested. Is it even tested and if so, can you point me as to where to add tests for that? Thanks 😄 Commits ------- 9ad1caa Make sure the UriSigner can be autowired
2 parents d8bb14c + 9ad1caa commit 697bc22

File tree

1 file changed

+1
-0
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/services.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<service id="uri_signer" class="Symfony\Component\HttpKernel\UriSigner">
9090
<argument>%kernel.secret%</argument>
9191
</service>
92+
<service id="Symfony\Component\HttpKernel\UriSigner" alias="uri_signer" />
9293

9394
<service id="config_cache_factory" class="Symfony\Component\Config\ResourceCheckerConfigCacheFactory">
9495
<argument type="tagged_iterator" tag="config_cache.resource_checker" />

0 commit comments

Comments
 (0)
0