Documentation

SwitchableFeatureComponent
in package

Class SwitchableFeatureComponent

Table of Contents

Properties

$featureEnabledConstValue  : bool
$featureInternalEnabledConstValue  : bool|null

Methods

__construct()  : mixed
SwitchableFeatureComponent constructor.
canISee()  : bool
isDisabled()  : bool
isOfficiallyEnabled()  : bool
isOnlyInternalEnabled()  : bool
parseConstNames()  : void

Properties

Methods

__construct()

SwitchableFeatureComponent constructor.

public __construct(string $featureEnabledConstName[, string|null $featureInternalEnabledConstName = null ]) : mixed
Parameters
$featureEnabledConstName : string
$featureInternalEnabledConstName : string|null = null

parseConstNames()

private parseConstNames(string $featureEnabledConstName, string|null $featureInternalEnabledConstName) : void
Parameters
$featureEnabledConstName : string
$featureInternalEnabledConstName : string|null

        
On this page

Search results