diff options
Diffstat (limited to 'crates/shirabe/src/autoload/class_loader.rs')
| -rw-r--r-- | crates/shirabe/src/autoload/class_loader.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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!() + } } |
