mini\Session\SessionInterface::getCookieToSet()
Method
public
abstract
Signature
public abstract function getCookieToSet(): ?array
Returns
?array
Documentation
Get cookie data if one needs to be set on the response
Returns cookie data array if a cookie needs to be set (new session or regenerated ID), null if no cookie is needed. Clears the pending cookie after returning.