From ae82788e7e80053c044940335a0a89737c2b0fb2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 12 May 2026 02:52:21 +0900 Subject: feat(port): ConfigurableRepositoryInterface.php --- crates/shirabe-php-shim/Cargo.toml | 3 +++ crates/shirabe-php-shim/src/lib.rs | 13 +++++++++++++ 2 files changed, 16 insertions(+) (limited to 'crates/shirabe-php-shim') diff --git a/crates/shirabe-php-shim/Cargo.toml b/crates/shirabe-php-shim/Cargo.toml index d565ea7..4256d47 100644 --- a/crates/shirabe-php-shim/Cargo.toml +++ b/crates/shirabe-php-shim/Cargo.toml @@ -2,3 +2,6 @@ name = "shirabe-php-shim" version.workspace = true edition.workspace = true + +[dependencies] +indexmap.workspace = true 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>), + Array(IndexMap>), +} + #[derive(Debug)] pub struct Exception { pub message: String, -- cgit v1.3.1