Documentation

ConfigProfiles
in package

Singleton class which stores the registered configuration profiles

Table of Contents

$instance  : ConfigProfiles|null
$knownProfiles  : array<string|int, mixed>
__construct()  : mixed
getInstance()  : ConfigProfiles
Returns static instance of ConfigProfiles
registerProfile()  : void

Properties

$knownProfiles

private array<string|int, mixed> $knownProfiles = []

Methods

__construct()

public __construct() : mixed
Return values
mixed

registerProfile()

public registerProfile(string $profileName, ConfigProfile $profile) : void
Parameters
$profileName : string

Name of new profile to be registered

$profile : ConfigProfile

Instance of new profile

Tags
since
4.0.1
Return values
void

        

Search results