converter = new $converterType($targetTypes, ...$args); } public function convertFrom(string|array|int|float|bool|null $raw): mixed { return $this->converter->convertFrom($raw); } public function convertTo(mixed $target): string|array|int|float|bool|null { return $this->converter->convertTo($target); } }