Cookies
The Cookie
class can be used to manage the cookie settings for a session. It is Immutable.
Creating the class will use all the default settings of PHP
use duncan3dc\Sessions\Cookie;
$cookie = new Cookie;
You can create an instance using the current ini values like so:
$cookie = Cookie::createFromIni();
The cookie instance can then be passed when creating a SessionInstance
:
$session = new Session("phpmyadmin", $cookie);
The API docs linked above show all the available methods.