Skip to content

Commit fce2858

Browse files
authored
docs: CookieStore::get() does not give an array of Cookie objects (#9566)
1 parent c8f8ff7 commit fce2858

File tree

1 file changed

+1
-4
lines changed
  • user_guide_src/source/libraries/cookies

1 file changed

+1
-4
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22

3-
cookies()->get(); // array of Cookie objects
4-
5-
// alternatively, you can use the display method
6-
cookies()->display();
3+
cookies()->display(); // array of Cookie objects
74

85
// or even from the Response
96
service('response')->getCookies();

0 commit comments

Comments
 (0)