interface DetectorInterface (View source)

Methods

null|string
detect()

Determine whether this environment matches the expected service environment.

Details

null|string detect()

Determine whether this environment matches the expected service environment.

Returns null if not matched, or the service version if it's matched (empty string if the version is not detected).

Return Value

null|string