You are here

public function InformationHeaders::setPackage in Auth0 Single Sign On 8.2

Set the main SDK name and version.

Parameters

string $name SDK name.:

string $version SDK version number.:

Return value

void

1 call to InformationHeaders::setPackage()
InformationHeaders::setCorePackage in vendor/auth0/auth0-php/src/API/Helpers/InformationHeaders.php
Set the main SDK name and version to the PHP SDK.

File

vendor/auth0/auth0-php/src/API/Helpers/InformationHeaders.php, line 29

Class

InformationHeaders
Class InformationHeaders Builds, extends, modifies, and formats SDK telemetry data.

Namespace

Auth0\SDK\API\Helpers

Code

public function setPackage($name, $version) {
  $this->data['name'] = $name;
  $this->data['version'] = $version;
}