phpDocumentor

ConfigurationFinder extends ConfigurationFinder

Interface ConfigurationFinder

Tags
deprecated

This interface will be replaced with Gambio\Core\Configuration\Services\ConfigurationFinder in the first version of the GX 4.5.x series. We do this in order to fulfill the requirements for the new modules directory structure.

Table of Contents

get()  : string|null
Searches for a configuration.

Methods

get()

Searches for a configuration.

public get(string $key[, string|null $default = null ]) : string|null

This method tries to find the configuration entry for the given key. If a configuration was found, the related value will be returned as string. In case of nothing was found, or the configuration equals null, null is returned.

Parameters
$key : string
$default : string|null = null
Return values
string|null

Search results