Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrick Peter committed Oct 2, 2023
1 parent 2264936 commit fe4d80b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Tests/cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,27 @@



// Cookie::set('cookie', 'value');


// this will return instance of a Cookie
// since by default the function name cookie already exists
// so we can't be able to create helper function with that name
// TameCookie()


TameCookie()->set('cookie_name', 'value');

// Cookie::set('cookie_name', 'value');


dd(

TameCookie(),
Cookie::all(),

TameCookie()->get('cookie_name'),

PDF()
Cookie::forget('cookie_name2'),


Cookie::expire('cookie_name2'),
);

0 comments on commit fe4d80b

Please sign in to comment.