Interfaces, Classes and Traits
- FeatureRepository
Table of Contents
-
TABLE
= 'pheature_toggles'
-
$connection
: Connection
-
__construct()
: mixed
-
get()
: Feature
-
remove()
: void
-
save()
: void
-
findFeature()
: array<string, string>|null
TABLE
private
mixed
TABLE
= 'pheature_toggles'
$connection
private
Connection
$connection
__construct()
public
__construct(Connection $connection) : mixed
Parameters
-
$connection
: Connection
-
Return values
mixed
—
get()
public
get(FeatureId $featureId) : Feature
Parameters
-
$featureId
: FeatureId
-
Return values
Feature
—
remove()
public
remove(Feature $feature) : void
Parameters
-
$feature
: Feature
-
Return values
void
—
save()
public
save(Feature $feature) : void
Parameters
-
$feature
: Feature
-
Return values
void
—
findFeature()
private
findFeature(string $id) : array<string, string>|null
Parameters
-
$id
: string
-
-
throws
-
Exception
Return values
array<string, string>|null
—