Property | Type | Description | |
---|---|---|---|
$options | array | The cookie options. |
Method | Description | |
---|---|---|
__construct ( string | array $options = [] ) : void | Create a new cookie driver. | |
forget ( ) | {@inheritDoc} | |
get ( ) | {@inheritDoc} | |
put ( $value ) | {@inheritDoc} |
Method | Description | |
---|---|---|
getCookie ( ) : mixed | Returns a PHP cookie. | |
minutesToLifetime ( integer $minutes ) : integer | Takes a minutes parameter (relative to now) and converts it to a lifetime (unix timestamp). | |
setCookie ( mixed $value, integer $lifetime, string $path = null, string $domain = null, boolean $secure = null, boolean $httpOnly = null ) : void | Sets a PHP cookie. |
protected minutesToLifetime ( integer $minutes ) : integer | ||
$minutes | integer | |
return | integer |