# getSameSite

Learn how to get the SameSite policy applied to the cookies.

This method provides the SameSite policy applied to the cookies.

## Signature

This method has the following signature:

```php
public function getSameSite(): string
```

This method returns the SameSite policy applied to the cookies.

## Example

Here is a basic example of how to use this method:

```php
<?php
use Croct\Plug\CookieConfiguration;

$configuration = new CookieConfiguration();
$sameSite = $configuration->getSameSite();
```
