getClientIdName

Learn how to get the name of the client ID cookie.

This method provides the name of the client ID cookie.

Signature

This method has the following signature:

public function getClientIdName(): string

This method returns the name of the client ID cookie.

Example

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

<?phpuse Croct\Plug\CookieConfiguration;
$configuration = new CookieConfiguration();$name = $configuration->getClientIdName();