aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-symfony-console/src/helper/descriptor_helper.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-10 04:38:35 +0900
committernsfisis <nsfisis@gmail.com>2026-08-10 04:38:35 +0900
commit9d9da0d1512202af7802d13b1c3c33a1a077a84e (patch)
treeabe363b266a61da1713c6a16702b84ea68c70882 /crates/shirabe-symfony-console/src/helper/descriptor_helper.rs
parentf38080643d80b258393f2b7ab20349b122fe4591 (diff)
downloadphp-shirabe-9d9da0d1512202af7802d13b1c3c33a1a077a84e.tar.gz
php-shirabe-9d9da0d1512202af7802d13b1c3c33a1a077a84e.tar.zst
php-shirabe-9d9da0d1512202af7802d13b1c3c33a1a077a84e.zip
refactor(symfony): hide leaf modules behind their parent re-exports
Every parent module in the symfony-* crates already re-exported its leaf modules with `pub use`, so each item was reachable by two paths. Make the leaf modules private and route all callers through the single re-exported path. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-symfony-console/src/helper/descriptor_helper.rs')
-rw-r--r--crates/shirabe-symfony-console/src/helper/descriptor_helper.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/crates/shirabe-symfony-console/src/helper/descriptor_helper.rs b/crates/shirabe-symfony-console/src/helper/descriptor_helper.rs
index 23bb4f66..4ab5a93a 100644
--- a/crates/shirabe-symfony-console/src/helper/descriptor_helper.rs
+++ b/crates/shirabe-symfony-console/src/helper/descriptor_helper.rs
@@ -1,15 +1,15 @@
//! ref: composer/vendor/symfony/console/Helper/DescriptorHelper.php
-use crate::descriptor::descriptor_interface::{DescribableObject, DescriptorInterface};
-use crate::descriptor::json_descriptor::JsonDescriptor;
-use crate::descriptor::markdown_descriptor::MarkdownDescriptor;
-use crate::descriptor::text_descriptor::TextDescriptor;
-use crate::descriptor::xml_descriptor::XmlDescriptor;
-use crate::exception::invalid_argument_exception::InvalidArgumentException;
-use crate::helper::helper::Helper;
-use crate::helper::helper_interface::HelperInterface;
-use crate::helper::helper_set::HelperSet;
-use crate::output::output_interface::OutputInterface;
+use crate::descriptor::JsonDescriptor;
+use crate::descriptor::MarkdownDescriptor;
+use crate::descriptor::TextDescriptor;
+use crate::descriptor::XmlDescriptor;
+use crate::descriptor::{DescribableObject, DescriptorInterface};
+use crate::exception::InvalidArgumentException;
+use crate::helper::Helper;
+use crate::helper::HelperInterface;
+use crate::helper::HelperSet;
+use crate::output::OutputInterface;
use indexmap::IndexMap;
/// This class adds helper method to describe objects in various formats.