diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-15 01:07:54 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-15 19:51:17 +0900 |
| commit | f78ade50822cee315c73b73f40f1a923a2bfd6ac (patch) | |
| tree | a5fbc0aa34fb94fae68754278155a471e841c2a1 /crates/shirabe-php-shim | |
| parent | f419c7d4e2c500f980e9e44ac2f1eaa033be0314 (diff) | |
| download | php-shirabe-f78ade50822cee315c73b73f40f1a923a2bfd6ac.tar.gz php-shirabe-f78ade50822cee315c73b73f40f1a923a2bfd6ac.tar.zst php-shirabe-f78ade50822cee315c73b73f40f1a923a2bfd6ac.zip | |
feat(port): port RepositoryInterface.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 68cf03a..1c16ded 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -348,6 +348,10 @@ pub trait JsonSerializable { fn json_serialize(&self) -> PhpMixed; } +pub trait Countable { + fn count(&self) -> i64; +} + pub fn in_array(needle: PhpMixed, haystack: &PhpMixed, strict: bool) -> bool { todo!() } |
