Documentation

InMemoryConfig
in package

Table of Contents

$config  : array<string|int, mixed>
__construct()  : mixed
all()  : array<string, mixed>
get()  : array<string, string|bool|array>
has()  : bool
assertConfig()  : void

Properties

Methods

__construct()

public __construct([array<string, mixed> $config = [] ]) : mixed
Parameters
$config : array<string, mixed> = []
Return values
mixed

all()

public all() : array<string, mixed>
Return values
array<string, mixed>

get()

public get(string $featureId) : array<string, string|bool|array>
Parameters
$featureId : string
Tags
psalm-suppress

MixedReturnStatement

psalm-suppress

MixedInferredReturnType

Return values
array<string, string|bool|array>

has()

public has(string $featureId) : bool
Parameters
$featureId : string
Return values
bool

assertConfig()

private assertConfig(array<string, mixed> $config) : void
Parameters
$config : array<string, mixed>
Return values
void

Search results