aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/build.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-22 04:38:26 +0900
committernsfisis <nsfisis@gmail.com>2026-06-22 04:55:34 +0900
commitffd3e239a56172d2a336fb4d6253c01f6b1a0100 (patch)
tree344b02702bafcb503806cec94d6433807e0ce5b0 /crates/shirabe/build.rs
parentc3bf6c567ba2eac2830fa6eddcf4fadf619eb17b (diff)
downloadphp-shirabe-ffd3e239a56172d2a336fb4d6253c01f6b1a0100.tar.gz
php-shirabe-ffd3e239a56172d2a336fb4d6253c01f6b1a0100.tar.zst
php-shirabe-ffd3e239a56172d2a336fb4d6253c01f6b1a0100.zip
refactor(console): introduce ApplicationHandle shared-ownership newtype
Collapse the dual Application API (static methods taking `&Rc<RefCell<Application>>` plus `&mut self` bridges via `shared()`) into a single handle type `ApplicationHandle(Rc<RefCell<Application>>)`, mirroring the Composer handle pattern. Methods that invoke command callbacks (add, run, do_run, base_run, base_do_run, do_run_command, add_commands, init) move to `impl ApplicationHandle` with short-scoped borrows; data-only methods and `impl BaseApplication` stay on `Application`. `shared()` now returns the handle, and `new_shared`/`init_shared` fold into `ApplicationHandle::new`/`init`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/build.rs')
0 files changed, 0 insertions, 0 deletions