$operationTypes * @param array $providerRequirementKeys */ public function __construct( public string $key, public string $label, public array $operationTypes, public array $providerRequirementKeys, public string $defaultReasonCode, ) {} /** * @return array{ * key: string, * label: string, * operation_types: array, * provider_requirement_keys: array, * default_reason_code: string * } */ public function toArray(): array { return [ 'key' => $this->key, 'label' => $this->label, 'operation_types' => $this->operationTypes, 'provider_requirement_keys' => $this->providerRequirementKeys, 'default_reason_code' => $this->defaultReasonCode, ]; } }