feature flags and a bit on the design
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Pennant Store
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you will specify the default store that Pennant should use when
|
||||
| storing and resolving feature flag values. Pennant ships with the
|
||||
| ability to store flag values in an in-memory array or database.
|
||||
|
|
||||
| Supported: "array", "database"
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('PENNANT_STORE', 'database'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pennant Stores
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure each of the stores that should be available to
|
||||
| Pennant. These stores shall be used to store resolved feature flag
|
||||
| values - you may configure as many as your application requires.
|
||||
|
|
||||
*/
|
||||
|
||||
'stores' => [
|
||||
|
||||
'array' => [
|
||||
'driver' => 'array',
|
||||
],
|
||||
|
||||
'database' => [
|
||||
'driver' => 'database',
|
||||
'connection' => null,
|
||||
'table' => 'features',
|
||||
],
|
||||
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user