Skip to content

Commit

Permalink
[Session] Make the getAttributeBag method public
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Apr 20, 2020
1 parent 62565a1 commit 05220fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -41,7 +41,8 @@
<service id="Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface" alias="session.flash_bag" />

<service id="session.attribute_bag" class="Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag">
<factory service="session" method="getAttributeBag"/>
<factory service="session" method="getBag"/>
<argument>attributes</argument>
</service>

<service id="session.storage.mock_file" class="Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage">
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bundle/FrameworkBundle/composer.json
Expand Up @@ -67,6 +67,7 @@
"symfony/asset": "<3.3",
"symfony/console": "<3.4",
"symfony/form": "<3.4",
"symfony/http-foundation": "3.4.39|4.4.7",
"symfony/property-info": "<3.3",
"symfony/serializer": "<3.3",
"symfony/stopwatch": "<3.4",
Expand Down

0 comments on commit 05220fa

Please sign in to comment.