Skip to content
Add two methods:
+ withSameSite : To add the samesite value
+ getSameSite : To get the samesite value
The "samesite" value can be added in the php native setcookie function. For the moment, it can be 'None', 'Lax' or 'Strict'.
For more precision, see the [Mozilla website](https://developer.mozilla.org/fr/docs/Web/HTTP/Headers/Set-Cookie/SameSite).