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/CodeToNameHandler.php | 27 --------------------------- src/Build/NameHandler.php | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 27 deletions(-) delete mode 100644 src/Build/CodeToNameHandler.php create mode 100644 src/Build/NameHandler.php (limited to 'src') diff --git a/src/Build/CodeToNameHandler.php b/src/Build/CodeToNameHandler.php deleted file mode 100644 index 284c096..0000000 --- a/src/Build/CodeToNameHandler.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - 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, ' + */ + 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, '