update project
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support\Release;
|
||||
|
||||
final readonly class FeatureFlagDefinition
|
||||
{
|
||||
public function __construct(
|
||||
public string $key,
|
||||
public string $owner,
|
||||
public bool $default,
|
||||
public ?string $removalTarget = null,
|
||||
public array $dimensions = [],
|
||||
) {}
|
||||
|
||||
public function toArray(): array
|
||||
{
|
||||
return [
|
||||
'key' => $this->key,
|
||||
'owner' => $this->owner,
|
||||
'default' => $this->default,
|
||||
'removal_target' => $this->removalTarget,
|
||||
'dimensions' => $this->dimensions,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user