summaryrefslogtreecommitdiff
path: root/src/Build/RegionHandler.php
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2025-04-28 17:20:39 +0800
committerLi Zhineng <[email protected]>2025-04-28 17:20:39 +0800
commit5aca6a5eef938b1fdedb4d14f5f7edcac91b5215 (patch)
tree0ad65fe3724d29e98ae352eac0487138f05035c6 /src/Build/RegionHandler.php
downloadregion-china-5aca6a5eef938b1fdedb4d14f5f7edcac91b5215.tar.gz
region-china-5aca6a5eef938b1fdedb4d14f5f7edcac91b5215.zip
build data from raw html
Diffstat (limited to 'src/Build/RegionHandler.php')
-rw-r--r--src/Build/RegionHandler.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Build/RegionHandler.php b/src/Build/RegionHandler.php
new file mode 100644
index 0000000..b13400b
--- /dev/null
+++ b/src/Build/RegionHandler.php
@@ -0,0 +1,13 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Zhineng\Region\Build;
+
+interface RegionHandler
+{
+ /**
+ * Process the region code and name pair.
+ */
+ public function handle(string $code, string $name): void;
+}