aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/question/question.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 02:25:52 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 02:25:52 +0900
commit7f606f36fef0c0467c3c0db3d0da33af486dae8a (patch)
treec3f0a3340e1dbfc5245964a775b73030d5abf44e /crates/shirabe-external-packages/src/symfony/console/question/question.rs
parent9389ddbf06f6d38445c277640cab7b2270057790 (diff)
downloadphp-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.gz
php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.zst
php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.zip
feat(port): add stub implementations of shirabe-external-packages
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/question/question.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/question/question.rs34
1 files changed, 34 insertions, 0 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/question/question.rs b/crates/shirabe-external-packages/src/symfony/console/question/question.rs
new file mode 100644
index 0000000..2fc7368
--- /dev/null
+++ b/crates/shirabe-external-packages/src/symfony/console/question/question.rs
@@ -0,0 +1,34 @@
+use shirabe_php_shim::PhpMixed;
+
+#[derive(Debug)]
+pub struct Question;
+
+impl Question {
+ pub fn new(question: &str, default: Option<PhpMixed>) -> Self {
+ todo!()
+ }
+
+ pub fn set_validator(&mut self, validator: Option<Box<dyn Fn(Option<PhpMixed>) -> anyhow::Result<PhpMixed>>>) {
+ todo!()
+ }
+
+ pub fn set_max_attempts(&mut self, attempts: Option<i64>) {
+ todo!()
+ }
+
+ pub fn set_hidden(&mut self, hidden: bool) {
+ todo!()
+ }
+
+ pub fn get_question(&self) -> String {
+ todo!()
+ }
+
+ pub fn get_default(&self) -> Option<PhpMixed> {
+ todo!()
+ }
+
+ pub fn is_hidden(&self) -> bool {
+ todo!()
+ }
+}