From 80b213ca56e6b9de54fa10b489637be60c4c7141 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Wed, 21 Jan 2026 15:36:56 +0800 Subject: rename handler --- src/Build/NameHandler.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/Build/NameHandler.php (limited to 'src/Build/NameHandler.php') diff --git a/src/Build/NameHandler.php b/src/Build/NameHandler.php new file mode 100644 index 0000000..4661eac --- /dev/null +++ b/src/Build/NameHandler.php @@ -0,0 +1,29 @@ + + */ + private array $data = []; + + public function handle(string $code, string $name): void + { + $this->data['_'.$code] = $name; + } + + public function export(string $destination): void + { + $exported = VarExporter::export($this->data); + + file_put_contents($destination, '