SilverStripe\EnvironmentCheck\Checks\SessionCheck::getCookie
Get PHPSESSID or SECSESSID cookie set from the response if it exists.
Signature
public function getCookie(ResponseInterface
$response )
Parameters
$response
— Psr\Http\Message\ResponseInterface
Returns
- string|null
- Cookie contents or null if it doesn't exist