cleaning up the namespace
[catagits/Catalyst-Runtime.git] / lib / Catalyst / IOC / Container.pm
index 2cbc1cb..3258f2d 100644 (file)
@@ -1,5 +1,5 @@
 package Catalyst::IOC::Container;
-use Bread::Board;
+use Bread::Board qw/depends_on/;
 use Moose;
 use Config::Any;
 use Data::Visitor::Callback;
@@ -167,7 +167,6 @@ sub build_home_service {
             }
 
             $home ||= Catalyst::Utils::home($class);
-#            $class->config(home => $home); # FIXME - Needed to make path_to work.
             return $home;
         },
         dependencies => [ depends_on('application_name') ],
@@ -766,6 +765,8 @@ sub expand_component_module {
     return Devel::InnerPackage::list_packages( $module );
 }
 
+__PACKAGE__->meta->make_immutable;
+
 1;
 
 __END__