LaunchDarkly PHP SDK 6.1.0

ApplicationInfo
in package

An object that allows configuration of application metadata.

Application metadata may be used in LaunchDarkly analytics or other product features, but does not affect feature flag evaluations.

To use these properties, provide an instance of ApplicationInfo in the config parameter of the LDClient.

Application values have the following restrictions:

  • Cannot be empty
  • Cannot exceed 64 characters in length
  • Can only contain a-z, A-Z, 0-9, period (.), dash (-), and underscore (_).

Table of Contents

__construct()  : mixed
__toString()  : string
errors()  : array<string|int, mixed>
Retrieve any validation errors that have accumulated as a result of creating this instance.
withId()  : ApplicationInfo
Set the application id metadata identifier.
withVersion()  : ApplicationInfo
Set the application version metadata identifier.

Methods

errors()

Retrieve any validation errors that have accumulated as a result of creating this instance.

public errors() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results