From 7f606f36fef0c0467c3c0db3d0da33af486dae8a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 02:25:52 +0900 Subject: feat(port): add stub implementations of shirabe-external-packages --- .../symfony/component/console/question/question.rs | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 crates/shirabe-external-packages/src/symfony/component/console/question/question.rs (limited to 'crates/shirabe-external-packages/src/symfony/component/console/question/question.rs') diff --git a/crates/shirabe-external-packages/src/symfony/component/console/question/question.rs b/crates/shirabe-external-packages/src/symfony/component/console/question/question.rs new file mode 100644 index 0000000..cfbdd25 --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/component/console/question/question.rs @@ -0,0 +1,46 @@ +use shirabe_php_shim::PhpMixed; + +#[derive(Debug)] +pub struct Question; + +impl Question { + pub fn new(question: &str, default: Option) -> Self { + todo!() + } + + pub fn set_validator(&mut self, validator: Option) -> anyhow::Result>>) { + todo!() + } + + pub fn set_max_attempts(&mut self, attempts: Option) { + todo!() + } + + pub fn set_hidden(&mut self, hidden: bool) { + todo!() + } + + pub fn set_hidden_fallback(&mut self, fallback: bool) { + todo!() + } + + pub fn get_question(&self) -> String { + todo!() + } + + pub fn get_default(&self) -> Option { + todo!() + } + + pub fn is_hidden(&self) -> bool { + todo!() + } + + pub fn get_validator(&self) -> Option<&dyn Fn(Option) -> anyhow::Result> { + todo!() + } + + pub fn get_max_attempts(&self) -> Option { + todo!() + } +} -- cgit v1.3.1