trait ConfigTrait (View source)

Properties

protected ConfigRepository $config

Methods

__construct(ConfigRepository $config)

ConfigTrait constructor.

string
getSiteId()

Retrieve Site ID from configuration.

string
getPiwikUrl()

Retrieve Piwik URL from configuration.

Details

__construct(ConfigRepository $config)

ConfigTrait constructor.

Parameters

ConfigRepository $config

string getSiteId()

Retrieve Site ID from configuration.

Return Value

string

site id retrieved from configuration

string getPiwikUrl()

Retrieve Piwik URL from configuration.

Return Value

string

piwik url retrieved from configuration