aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/lib.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-12 02:52:21 +0900
committernsfisis <nsfisis@gmail.com>2026-05-12 02:52:21 +0900
commitae82788e7e80053c044940335a0a89737c2b0fb2 (patch)
treea52e95f22e08839310292a012f169b7d361ff6a2 /crates/shirabe-php-shim/src/lib.rs
parent8bf6f8e8ce56ab3f5c6cf1b0fe09fe51eaae9170 (diff)
downloadphp-shirabe-ae82788e7e80053c044940335a0a89737c2b0fb2.tar.gz
php-shirabe-ae82788e7e80053c044940335a0a89737c2b0fb2.tar.zst
php-shirabe-ae82788e7e80053c044940335a0a89737c2b0fb2.zip
feat(port): ConfigurableRepositoryInterface.php
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index b5cd9c3..df2a0c3 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -1,3 +1,16 @@
+use indexmap::IndexMap;
+
+#[derive(Debug)]
+pub enum PhpMixed {
+ Null,
+ Bool(bool),
+ Int(i64),
+ Float(f64),
+ String(String),
+ List(Vec<Box<PhpMixed>>),
+ Array(IndexMap<String, Box<PhpMixed>>),
+}
+
#[derive(Debug)]
pub struct Exception {
pub message: String,