You are here

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

Set the main SDK name and version to the PHP SDK.

Return value

void

File

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

Class

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

Namespace

Auth0\SDK\API\Helpers

Code

public function setCorePackage() {
  $this
    ->setPackage('auth0-php', ApiClient::API_VERSION);
  $this
    ->setEnvProperty('php', phpversion());
}