Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

ApplicationInsights Channel Contracts Utils

Jakub Oleksy edited this page Dec 20, 2014 · 1 revision

ApplicationInsights\Channel\Contracts\Utils

Contains utilities for contract classes

  • Class name: Utils
  • Namespace: ApplicationInsights\Channel\Contracts

Methods

\ApplicationInsights\Channel\Contracts\Utils::removeEmptyValues()

array ApplicationInsights\Channel\Contracts\Utils::\ApplicationInsights\Channel\Contracts\Utils::removeEmptyValues()(array $sourceArray)

Removes NULL and empty collections

  • Visibility: public
  • This method is static.

Arguments

  • $sourceArray array

\ApplicationInsights\Channel\Contracts\Utils::convertMillisecondsToTimeSpan()

string ApplicationInsights\Channel\Contracts\Utils::\ApplicationInsights\Channel\Contracts\Utils::convertMillisecondsToTimeSpan()(integer $milliseconds)

Converts milliseconds to a timespan string as accepted by the backend

  • Visibility: public
  • This method is static.

Arguments

  • $milliseconds integer