Files
2026-05-30 01:11:35 -04:00

26 lines
591 B
PHP

<?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,
];
}
}