From c839244d8d09f3036ebfee8eef7eb6b147e593ab Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 00:10:22 +0900 Subject: fix(compile): fix various compile errors Co-Authored-By: Claude Sonnet 4.6 --- crates/shirabe/src/autoload/class_loader.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/shirabe/src/autoload/class_loader.rs') diff --git a/crates/shirabe/src/autoload/class_loader.rs b/crates/shirabe/src/autoload/class_loader.rs index 2f4cfa0..edb1868 100644 --- a/crates/shirabe/src/autoload/class_loader.rs +++ b/crates/shirabe/src/autoload/class_loader.rs @@ -529,4 +529,9 @@ impl ClassLoader { // TODO(phase-b): preserve PHP `\Closure::bind(static fn($file) => include $file, null, null)` // Rust has no `include` operator; this is a no-op placeholder. } + + pub fn as_array_iter(&self) -> Vec<(String, PhpMixed)> { + // TODO(phase-b): iterate over loader properties as PHP (array) cast would + todo!() + } } -- cgit v1.3.1